wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



transition_comment_status › Hooks de Ações WordPress

Desde2.7.0
Obsoleton/a
do_action( 'transition_comment_status', $new_status, $old_status, $comment )
Parâmetros: (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
Definido em:
Codex:

Fires when the comment status is in transition.





Fonte

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