Skip to content
Docs
Get RestroPress

Action

rpress_purchase_form_after_submit

Updated
On this page

Fires after the place order button.

Runs in rpress_checkout_submit() right after the purchase button and before the optional back link.

Example#

function my_after_submit() {
	echo '<p class="my-after-submit">' . esc_html__( 'You will receive a confirmation email.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_purchase_form_after_submit', 'my_after_submit', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 1098), in rpress_checkout_submit()

See also#

Was this page helpful?