1. 首页
  2. WordPress 函数手册

is_avatar_comment_type()

is_avatar_comment_type( string $comment_type )

检查此评论类型是否允许检索化身。
Check if this comment type allows avatars to be retrieved.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$comment_type (string) 必需 要检查的注释类型。

返回(Return)

(bool)评论类型是否允许检索化身。


源码(Source)


更新版本 源码位置 使用 被使用
5.1.0 wp-includes/link-template.php:4035 1 function 2

is_avatar_comment_type() 为WP2原创文章,链接:https://www.wp2.cn/functions/is_avatar_comment_type/