Skip to content
Docs
Get RestroPress

Action

rpress_register_account_fields_before

Updated
On this page

Fires at the start of the account creation fieldset.

Runs in rpress_get_register_fields() inside the create-account fieldset, before the username field.

Example#

function my_register_account_fields_before() {
	echo '<p class="my-username-hint">' . esc_html__( 'Choose a username.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_register_account_fields_before', 'my_register_account_fields_before', 10, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?