Skip to content
Docs
Get RestroPress

Action

rpress_profile_editor_fields_top

Updated
On this page

Fires at the top of the profile editor form.

Runs just inside the profile editor form tag, before the name fieldset. Fields echoed here are inside the form and submitted with it.

Example#

add_action( 'rpress_profile_editor_fields_top', 'my_rpress_profile_editor_fields_top' );
function my_rpress_profile_editor_fields_top() {
	echo '<p>' . esc_html__( 'Fields marked required must be completed.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

  • templates/shortcode-profile-editor.php (line 43)

See also#

Was this page helpful?