< Back to API Documentation

PRC_Order->get_agent_full_name

Returns the full name of the agent who created a given order.

$order = new PRC_Order( $photo_order_id );

$agent_full_name = $order->get_agent_full_name();

// Returns, for example, John Smith