get_avatar_url

get_avatar_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_avatar_url') is found 1 times:

  • /wp-includes/link-template.php line 4571
    	 * @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.
    	 */
    	$args['url'] = apply_filters( 'get_avatar_url', $url, $id_or_email, $args );
    
    	/**
    	 * Filters the avatar data.
    	 *
    	 * @since 4.2.0
    	 *
    

See this hook used in plugins: