WP_User $profile_user )
Fires after the ‘About the User’ settings table on the ‘Edit User’ screen.
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 another users profile page (not their own). If you want to apply your hook to ALL profile pages (including the current user) then you also need to use the show_user_profile hook.
View all references
do_action( 'edit_user_profile', $profile_user );
This action can be used to add a form to the backend user editing screen and save some additional user meta data.
For example to add a field for the users birthday:
This example is wrong. You can’t pass this callback to user_new_form because that hook doesn’t pass an User object, just a string type. The very least this callback would have to conditionally use user object, not expect it to be there in all cases. Above code will throw a uncaught type error when adding a new user. Also see https://developer.wordpress.org/reference/hooks/user_new_form/ — By Beda —
Example migrated from Codex: