edit_user_profile WordPress Action Hook
The edit_user_profile hook is triggered when a user's profile is updated. It allows you to modify the user's profile before it is saved to the database.
do_action( 'edit_user_profile', WP_User $profile_user ) #
Fires after the ‘About the User’ settings table on the ‘Edit User’ screen.
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 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.
Source
File: wp-admin/user-edit.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |