wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_get_avatar › WordPress过滤钩子
Since4.2.0
已弃用n/a
› apply_filters( 'pre_get_avatar', null, $id_or_email, $args )
参数: (3) |
|
定义在: |
|
文档: |
Allows the HTML for a user's avatar to be returned early.
Returning a non-null value will effectively short-circuit get_avatar(), passing the value through the {@see 'get_avatar'} filter and returning early.
Related Functions: get_avatar, rest_get_avatar_urls, rest_get_avatar_sizes, get_avatar_url, get_avatar_data, wp_reset_vars