wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_avatar_comment_types › WordPress过滤钩子

Since7.2.0
已弃用n/a
› apply_filters( 'get_avatar_comment_types', array( 'comment', 'note', 'reaction' )
参数:
  • () types An array of content types. Default contains 'comment', 'note', and 'reaction'.
    Required: Yes
定义在:
文档:

Filters the list of allowed comment types for retrieving avatars.





源码

$allowed_comment_types = apply_filters( 'get_avatar_comment_types', array( 'comment', 'note', 'reaction' ) );