< Back to API Documentation

METHOD

PRC_Order->get_selected_photographer_email

Returns the email of the selected photographer of an order.

Example

$order = new PRC_Order( $photo_order_id );

$photographer_email = $order->get_selected_photographer_email();

echo 'Selected photographer email: ' . $photographer_email;