Skip to content
Docs
Get RestroPress

Action

rpress_register_fields_before

Updated
On this page

Fires before the account creation fieldset in the registration block.

Runs in rpress_get_register_fields() after the "Already have an account?" login link and before the create-account fieldset.

Example#

function my_register_fields_before() {
	echo '<p class="my-register-note">' . esc_html__( 'Create an account to track your orders.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_register_fields_before', 'my_register_fields_before', 10, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?