< Back to API Documentation

PRC_Order->get_total

Returns the total for an order.

Example

$order = new PRC_Order( $photo_order_id );

$order_total = $order->get_total();

echo '$' . $order_total;

// Returns the order total.