WordPress at Your Fingertips
filter is not described

get_avatar_url filter-hook . WP 4.2.0

Filters the avatar URL.


add_filter( 'get_avatar_url', 'filter_function_name_9725', 10, 3 );
function filter_function_name_9725( $url, $id_or_email, $args ){
	// filter...

	return $url;
The URL of the avatar.
The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash, user email, WP_User object, WP_Post object, or WP_Comment object.
Arguments passed to get_avatar_data(), after processing.


Since 4.2.0 Introduced.

Where the hook is called

wp-includes/link-template.php 4392
$args['url'] = apply_filters( 'get_avatar_url', $url, $id_or_email, $args );

Where in WP core the hook is used WordPress

Usage not found.