WordPress at a glance
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_5043', 10, 3 );
function filter_function_name_5043( $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.

Where the hook is called

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

Where the hook is used (in WP core)

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