show_user_profile хук-событиеWP 2.0.0

Fires after the 'About Yourself' settings table on the 'Profile' editing screen.

The action only fires if the current user is editing their own profile.

Использование

add_action( 'show_user_profile', 'wp_kama_show_user_profile_action' );

/**
 * Function for `show_user_profile` action-hook.
 * 
 * @param WP_User $profile_user The current WP_User object.
 *
 * @return void
 */
function wp_kama_show_user_profile_action( $profile_user ){

	// action...
}
$profile_user(WP_User)
The current WP_User object.

Список изменений

С версии 2.0.0 Введена.

Где вызывается хук

В файле: /wp-admin/user-edit.php
show_user_profile
wp-admin/user-edit.php 875
do_action( 'show_user_profile', $profile_user );

Где используется хук в WordPress

Использование не найдено.