< Back to API Documentation

PRC_Order->get_agent_email

Returns the agent user email.

Example

$order = new PRC_Order( $photo_order_id );

$agent_email = $order->get_agent_email();

// Returns the email of the agent for an order.