user_profile_picture_description filter-hookWP 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;
The description that will be printed.
The current WP_User object.


Since 4.4.0 Introduced.
Since 4.7.0 Added the $profile_user parameter.

Where the hook is called

In file: /wp-admin/user-edit.php
wp-admin/user-edit.php 640
echo apply_filters( 'user_profile_picture_description', $description, $profile_user );

Where the hook is used in WordPress

Usage not found.