Action
rpress_purchase_form_top
Fires at the top of the purchase form section.
Runs at the start of rpress_show_purchase_form(), before the login options or the contact and order details sections are output.
Available since RestroPress 1.0.0.
Example#
function my_purchase_form_top() {
echo '<h3 class="my-section-title">' . esc_html__( 'Your details', 'my-textdomain' ) . '</h3>';
}
add_action( 'rpress_purchase_form_top', 'my_purchase_form_top', 10, 0 );
Source#
Fired from:
includes/checkout/template.php(line 117), inrpress_show_purchase_form()
See also#
Was this page helpful?
