A WordPress-centric search engine for devs and theme authors



transition_comment_status ›

Since2.7.0
Deprecatedn/a
do_action( 'transition_comment_status', $new_status, $old_status, $comment )
Parameters: (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
Defined at:
Codex:

Fires when the comment status is in transition.





Source

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