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



get_comment_id › WordPress过滤钩子

Since4.1.0
已弃用n/a
apply_filters( 'get_comment_ID', $comment_id, $comment )
参数: (2)
  • (string) $comment_id The current comment ID as a numeric string.
    Required: Yes
  • (WP_Comment) $comment The comment object.
    Required: Yes
定义在:
文档:

Filters the returned comment ID.





源码

return apply_filters( 'get_comment_ID', $comment_id, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase