do_action( 'show_user_profile', WP_User $profile_user )
Fires after the ‘About Yourself’ settings table on the ‘Profile’ editing screen.
Description
The action only fires if the current user is editing their own profile.
Parameters
More Information
This action hook is typically used to output new fields or data to the bottom of WordPress’s user profile pages.
This hook only triggers when a user is viewing their own profile page. If you want to apply your hook to ALL profile pages (not just the current user) then you also need to use the edit_user_profile hook.
Source
File: wp-admin/user-edit.php
.
View all references
do_action( 'show_user_profile', $profile_user );
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
See the edit_user_profile action for an example on how to add a form to the backend user edit screen and save some additional user meta data.
https://developer.wordpress.org/reference/hooks/edit_user_profile/#comment-2228
Example migrated from Codex: