Action
rpress_purchase_form
Fires to render the purchase form fields inside the checkout form.
Runs in rpress_checkout_form() after rpress_checkout_form_top. Core hooks rpress_show_purchase_form() here, which outputs the contact, order details and login sections. Remove that callback to replace the section.
Example#
function my_purchase_form_extra() {
echo '<p class="my-form-note">' . esc_html__( 'All fields are required.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_purchase_form', 'my_purchase_form_extra', 20, 0 );
Source#
Fired from:
includes/checkout/template.php(line 41), inrpress_checkout_form()
See also#
Was this page helpful?
