Action
rpress_payment_mode_before_gateways
Fires before the gateway radio options are output.
Runs in rpress_payment_mode_select() inside the gateways wrapper, before the loop over the enabled gateways.
Example#
function my_before_gateways() {
echo '<p class="my-gateway-hint">' . esc_html__( 'Cash is accepted on pickup.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_payment_mode_before_gateways', 'my_before_gateways', 10, 0 );
Source#
Fired from:
includes/checkout/template.php(line 839), inrpress_payment_mode_select()
See also#
Was this page helpful?
