Skip to content
Docs
Get RestroPress

Action

rpress_register_form_fields_before

Updated
On this page

Fires before the username field in the registration form.

Runs after the optional social sign-up buttons and before the username field.

Example#

add_action( 'rpress_register_form_fields_before', 'my_rpress_register_form_fields_before' );
function my_rpress_register_form_fields_before() {
	echo '<p>' . esc_html__( 'Create an account to save your orders.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

  • templates/shortcode-register.php (line 33)

See also#

Was this page helpful?