1. 首页
  2. WordPress钩子手册

get_avatar_comment_types

apply_filters( ‘get_avatar_comment_types’, array $types )

过滤器::过滤用于检索化身的允许注释类型列表。
Filter Hook: Filters the list of allowed comment types for retrieving avatars.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$types (array) 内容类型的数组。默认值仅包含“注释”。

源码(Source)


更新版本 源码位置 使用 被使用
3.0.0 wp-includes/link-template.php:4043 1 0

get_avatar_comment_types 为WP2原创文章,链接:https://www.wp2.cn/hook/get_avatar_comment_types/