wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



transition_comment_status › Les Actions WordPress

Depuis2.7.0
Dépréciéen/a
do_action( 'transition_comment_status', $new_status, $old_status, $comment )
Paramètres: (3)
  • (int|string) $new_status The new comment status.
    Requis: Oui
  • (int|string) $old_status The old comment status.
    Requis: Oui
  • (WP_Comment) $comment Comment object.
    Requis: Oui
Défini(e) dans:
Codex:

Fires when the comment status is in transition.





Source

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