user_profile_picture_description хук-фильтрWP 4.4.0

Filters the user profile picture description displayed under the Gravatar.

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

add_filter( 'user_profile_picture_description', 'wp_kama_user_profile_picture_description_filter', 10, 2 );

/**
 * Function for `user_profile_picture_description` filter-hook.
 * 
 * @param string  $description  The description that will be printed.
 * @param WP_User $profile_user The current WP_User object.
 *
 * @return string
 */
function wp_kama_user_profile_picture_description_filter( $description, $profile_user ){

	// filter...
	return $description;
}
$description(строка)
The description that will be printed.
$profile_user(WP_User)
The current WP_User object.

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

С версии 4.4.0 Введена.
С версии 4.7.0 Added the $profile_user parameter.

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

В файле: /wp-admin/user-edit.php
user_profile_picture_description
wp-admin/user-edit.php 640
echo apply_filters( 'user_profile_picture_description', $description, $profile_user );

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

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