profile_personal_options хук-событие . WP 2.0.0
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.
Использование
add_action( 'profile_personal_options', 'action_function_name_5000' ); function action_function_name_5000( $profileuser ){ // action... }
- $profileuser(WP_User)
- The current WP_User object.
Список изменений
С версии 2.0.0 | Введена. |
Где вызывается хук
В файле: /wp-admin/user-edit.php
profile_personal_options
wp-admin/user-edit.php 401
do_action( 'profile_personal_options', $profileuser );