Skip to content
Docs
Get RestroPress

Action

rpress_purchase_form_after_cc_form

Updated
On this page

Fires after the credit card form is output.

Runs at the end of rpress_show_cc_form(). Core hooks the billing tax address fields at priority 999 and the submit section (rpress_checkout_submit) at priority 9999.

Available since RestroPress 1.0.0.

Example#

function my_after_cc_form() {
	echo '<p class="my-after-cc">' . esc_html__( 'You will see a receipt after payment.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_purchase_form_after_cc_form', 'my_after_cc_form', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 253), in rpress_show_cc_form()

See also#

Was this page helpful?