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
Source
do_action( 'show_user_profile', $profile_user );
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
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: