get_avatar_url

最后更新于:2021-11-26 11:08:34

apply_filters( ‘get_avatar_url’, string $url, mixed $id_or_email, array $args )

Filters the avatar URL.

参数

$url

(string)
The URL of the avatar.

$id_or_email

(mixed)
The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash, user email, GC_User object, GC_Post object, or GC_Comment object.

$args

(array)
Arguments passed to get_avatar_data(), after processing.

源文件

文件: gc-includes/link-template.php

View on Trac