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



get_avatar_comment_types › WordPress过滤钩子

Since3.0.0
已弃用n/a
apply_filters( 'get_avatar_comment_types', array( 'comment' )
参数:
  • (array) $types An array of content types. Default only contains 'comment'.
    Required: Yes
定义在:
文档:

Filters the list of allowed comment types for retrieving avatars.





源码

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