Filters the comment flood status.
false, $time_lastcomment, $time_newcomment
Sortie :
@param bool $bool Whether a comment flood is occurring. Default false. @param int $time_lastcomment Timestamp of when the last comment was posted. @param int $time_newcomment Timestamp of when the new comment was posted.
// Modifier la valeur avec le filtre 'comment_flood_filter'
add_filter('comment_flood_filter', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...