wpseek.com
A WordPress-centric search engine for devs and theme authors



transition_comment_status › WordPress Action Hooks

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
  • (WP_Comment) $comment Comment object.
    Required: Yes
Defined at:
Codex:

Fires when the comment status is in transition.





Source

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