Skip to content
Docs
Get RestroPress

Action

rpress_payment_mode_select

Updated
On this page

Fires to render the payment gateway selector inside the checkout form.

Runs in rpress_checkout_form() after rpress_purchase_form. Core hooks rpress_payment_mode_select() here, which prints the gateway options, the payment area and the submit section. Add a callback to output content after the gateway selector.

Example#

function my_after_payment_select() {
	echo '<p class="my-payment-note">' . esc_html__( 'Card payments are processed securely.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_payment_mode_select', 'my_after_payment_select', 20, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?