wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
comment_{$old_status}_to_{$new_status} › Les Actions WordPress
Depuis2.7.0
Dépréciéen/a
› do_action( "comment_{$old_status}_to_{$new_status}", $comment )
| Paramètres: |
|
| Défini(e) dans: |
|
| Codex: |
Fires when the comment status is in transition from one specific status to another.
The dynamic portions of the hook name, `$old_status`, and `$new_status`, refer to the old and new comment statuses, respectively. Possible hook names include: - `comment_unapproved_to_approved` - `comment_spam_to_approved` - `comment_approved_to_unapproved` - `comment_spam_to_unapproved` - `comment_unapproved_to_spam` - `comment_approved_to_spam`Fonctions en relation: get_comment_statuses, comment_author_rss, post_comment_status_meta_box, comment_author_email, comment_author_url, get_comment_author_rss