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



transition_comment_status ›

Since2.7.0
已弃用n/a
do_action( 'transition_comment_status', $new_status, $old_status, $comment )
参数: (3)
  • (int|string) $new_status The new comment status.
    Required: Yes
  • (int|string) $old_status The old comment status.
    Required: Yes
  • (object) $comment The comment data.
    Required: Yes
定义在:
文档:

Fires when the comment status is in transition.





源码

do_action( 'transition_comment_status', $new_status, $old_status, $comment );