Skip to content
Docs
Get RestroPress

Action

rpress_purchase_form_user_register_fields

Updated
On this page

Fires at the end of the registration block on the checkout form.

Runs in rpress_get_register_fields() after rpress_purchase_form_user_info, as the last item inside the registration block.

Example#

function my_user_register_fields() {
	echo '<input type="hidden" name="my_registered_at_checkout" value="1" />';
}
add_action( 'rpress_purchase_form_user_register_fields', 'my_user_register_fields', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 717), in rpress_get_register_fields()

See also#

Was this page helpful?