Skip to content
Docs
Get RestroPress

Action

rpress_profile_editor_before

Updated
On this page

Fires before the profile editor form.

Runs in the profile editor shortcode after error messages and before the form opens. It is output only for logged-in users.

Example#

add_action( 'rpress_profile_editor_before', 'my_rpress_profile_editor_before' );
function my_rpress_profile_editor_before() {
	echo '<p>' . esc_html__( 'Keep your details up to date.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

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

See also#

Was this page helpful?