Skip to content
Docs
Get RestroPress

Action

rpress_register_form_fields_before_submit

Updated
On this page

Fires before the submit button in the registration form.

Runs after the confirm password field and before the hidden fields and submit button. Echo extra fields, such as a consent checkbox, here.

Example#

add_action( 'rpress_register_form_fields_before_submit', 'my_rpress_register_form_fields_before_submit' );
function my_rpress_register_form_fields_before_submit() {
	echo '<p>' . esc_html__( 'By registering you agree to our terms.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

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

See also#

Was this page helpful?