profile_personal_options
Fires after the 'Personal Options' settings table on the 'Profile' editing screen.
The action only fires if the current user is editing their own profile.
Usage
add_action( 'profile_personal_options', 'wp_kama_profile_personal_options_action' ); /** * Function for `profile_personal_options` action-hook. * * @param WP_User $profile_user The current WP_User object. * * @return void */ function wp_kama_profile_personal_options_action( $profile_user ){ // action... }
- $profile_user(WP_User)
- The current WP_User object.
Changelog
Since 2.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/user-edit.php
profile_personal_options
wp-admin/user-edit.php 432
do_action( 'profile_personal_options', $profile_user );