Skip to content
Docs
Get RestroPress

Action

rpress_purchase_form_before_order_details

Updated
On this page

Fires before the address fields of the checkout order details section.

Runs in rpress_order_details_fields() right after the section legend and before the delivery address or service fields are output.

Example#

function my_before_order_details() {
	echo '<p class="my-order-details-note">' . esc_html__( 'Please double-check the address.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_purchase_form_before_order_details', 'my_before_order_details', 10, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?