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)
  • () new_status The new comment status.
    Required: Yes
  • () old_status The old comment status.
    Required: Yes
  • () 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 );