Skip to content
Docs
Get RestroPress

Action

rpress_after_purchase_form

Updated
On this page

Fires after the checkout form element is closed.

Runs in rpress_checkout_form() right after the closing form tag, inside the checkout form wrapper. Use it to print content below the form.

Example#

function my_after_purchase_form() {
	echo '<p class="my-checkout-help">' . esc_html__( 'Need help? Call the restaurant.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_after_purchase_form', 'my_after_purchase_form', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 51), in rpress_checkout_form()

See also#

Was this page helpful?