WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_avatar_url

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/link-template.php apply_filters 4432 /**
* Filters the avatar URL.
*
* @since 4.2.0
*
* @param string $url The URL of the avatar.
* @param mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
* user email, WP_User object, WP_Post object, or WP_Comment object.
* @param array $args Arguments passed to get_avatar_data(), after processing.
*/

Hook Parameters

Parameter Type Name Description
string $url The URL of the avatar.
mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
array $args Arguments passed to get_avatar_data(), after processing.