Action
rpress_payment_mode_before_gateways_wrap
Fires before the gateway options wrapper.
Runs in rpress_payment_mode_select() after the Payment legend and before the element that wraps the gateway radio options.
Example#
function my_before_gateways_wrap() {
echo '<p class="my-gateway-intro">' . esc_html__( 'Select a payment method.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_payment_mode_before_gateways_wrap', 'my_before_gateways_wrap', 10, 0 );
Source#
Fired from:
includes/checkout/template.php(line 836), inrpress_payment_mode_select()
See also#
Was this page helpful?
