user_profile_picture_description WordPress Filter Hook

The user_profile_picture_description hook is used to add a description to a user's profile picture. This can be used to provide context for the picture, or to simply give the user credit for the photo.

apply_filters( 'user_profile_picture_description', string $description, WP_User $profile_user ) #

Filters the user profile picture description displayed under the Gravatar.


Parameters

$description

(string)The description that will be printed.

$profile_user

(WP_User)The current WP_User object.


Top ↑

Source

File: wp-admin/user-edit.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
4.7.0Added the $profile_user parameter.
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.