get_avatar_comment_types

过滤钩子
apply_filters( 'get_avatar_comment_types', array( 'comment' )
参数
  • (array) $types An array of content types. Default only contains 'comment'.
    Required:
定义位置
相关勾子
get_comment_typeget_comment_dateget_comment_textget_comment_timeget_default_comment_status
相关方法
is_avatar_comment_typeget_comment_typeget_available_post_mime_typesget_comment_dateget_comment_textget_comment_time
引入
3.0.0
弃用
-

get_avatar_comment_types: 这个函数返回一个可以获取头像的评论类型的数组。默认情况下,该数组包括”评论”和”回贴”。

过滤用于检索头像的允许评论类型的列表。

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 11:36:30

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: