edit_user_profile_update
Fires before the page loads on the 'Edit User' screen.
Usage
add_action( 'edit_user_profile_update', 'wp_kama_edit_user_profile_update_action' ); /** * Function for `edit_user_profile_update` action-hook. * * @param int $user_id The user ID. * * @return void */ function wp_kama_edit_user_profile_update_action( $user_id ){ // action... }
- $user_id(int)
- The user ID.
Changelog
Since 2.7.0 | Introduced. |
Where the hook is called
In file: /wp-admin/user-edit.php
edit_user_profile_update
wp-admin/user-edit.php 158
do_action( 'edit_user_profile_update', $user_id );