< Back to API Documentation

PRC_Order->get_agent_status

Returns the status of the agent for an order.

Example

$order = new PRC_Order( $photo_order_id );

$agent_status = $order->get_agent_status();

echo 'The status of the agent of this order is: ' . $agent_status;