admin_comment_types_dropdown

过滤钩子
参数
  • (string[]) $comment_types Array of comment type labels keyed by their name.
    Required:
    Default:
定义位置
相关勾子
comments_openatom_comments_nsget_comment_typedisable_formats_dropdownget_avatar_comment_types
相关方法
comment_typeparent_dropdowncomments_openwp_admin_bar_comments_menuget_comment_pages_countget_comment_type
引入
2.7.0
弃用
-

admin_comment_types_dropdown是一个过滤器钩子,它允许开发人员修改WordPress管理界面中的评论类型下拉。这可以用来添加自定义的评论类型到下拉菜单或修改现有的评论类型。

过滤显示在评论列表表的下拉菜单中的评论类型。

$comment_types = apply_filters(

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-14 21:36:41

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

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

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