Action
rpress_payment_mode_top
Fires at the top of the payment gateway selector.
Runs in rpress_payment_mode_select() at the start of the payment mode wrapper, before the gateway form and fieldset.
Example#
function my_payment_mode_top() {
echo '<h3 class="my-payment-title">' . esc_html__( 'How would you like to pay?', 'my-textdomain' ) . '</h3>';
}
add_action( 'rpress_payment_mode_top', 'my_payment_mode_top', 10, 0 );
Source#
Fired from:
includes/checkout/template.php(line 830), inrpress_payment_mode_select()
See also#
Was this page helpful?
