< Back to API Documentation

METHOD

PRC_Order->get_gravity_forms_profile_id

Returns the Gravity Forms profile ID of an order.

Example

$order = new PRC_Order( $photo_order_id );

$gf_profile_id = $order->get_gravity_forms_profile_id();

echo 'Gravity Forms profile ID: ' . $gf_profile_id;