Skip to content
Docs
Get RestroPress

Action

rpress_purchase_form_order_details_fields

Updated
On this page

Fires last in the checkout order details section.

Runs in rpress_order_details_fields() after rpress_purchase_form_order_details, before the fieldset closes.

Example#

function my_order_details_fields_extra() {
	echo '<input type="hidden" name="my_order_channel" value="web" />';
}
add_action( 'rpress_purchase_form_order_details_fields', 'my_order_details_fields_extra', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 403), in rpress_order_details_fields()

See also#

Was this page helpful?