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



pre_comment_on_post ›

Since2.8.0
已弃用n/a
do_action( 'pre_comment_on_post', $comment_post_ID )
参数:
  • (int) $comment_post_ID Post ID.
    Required: Yes
定义在:
文档:

Fires before a comment is posted.





源码

do_action( 'pre_comment_on_post', $comment_post_ID );