Fires when a comment reply is attempted to an unapproved comment.
$comment_post_id, $comment_parent
Sortie :
@param int $comment_post_id Post ID. @param int $comment_parent Parent comment ID.
// Ajouter une fonction au hook action 'comment_reply_to_unapproved_comment'
add_action('comment_reply_to_unapproved_comment', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($comment_post_id, $comment_parent) {
// Votre code ici
error_log('Hook comment_reply_to_unapproved_comment déclenché');
}
Chargement des actualités...