get_avatar_comment_types

过滤钩子


apply_filters( 'get_avatar_comment_types', array( 'comment' )
参数
  • (array)
    $types
    An array of content types. Default only contains ‘comment’.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 4221
引入
3.0.0
弃用

Filters the list of allowed comment types for retrieving avatars.

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