Action
rpress_purchase_form_order_details
Fires after the order note field in the checkout order details section.
Runs at the end of rpress_order_details_fields(), after the service instructions textarea and before rpress_purchase_form_order_details_fields.
Example#
function my_order_details_field() {
echo '<p class="rp-col-sm-12"><label for="my-cutlery">' . esc_html__( 'Cutlery', 'my-textdomain' ) . '</label>';
echo '<input type="checkbox" name="my_cutlery" id="my-cutlery" value="1" /></p>';
}
add_action( 'rpress_purchase_form_order_details', 'my_order_details_field', 10, 0 );
Source#
Fired from:
includes/checkout/template.php(line 402), inrpress_order_details_fields()
See also#
Was this page helpful?
