Skip to content
Docs
Get RestroPress

Action

rpress_profile_editor_name

Updated
On this page

Fires after the display name field in the profile editor.

Runs inside the display name paragraph, immediately after the display name select. Use it to add a small hint or control tied to that field.

Example#

add_action( 'rpress_profile_editor_name', 'my_rpress_profile_editor_name' );
function my_rpress_profile_editor_name() {
	echo '<p>' . esc_html__( 'Shown on your orders.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

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

See also#

Was this page helpful?