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



allow_empty_comment › Les Filtres WordPress

Depuis5.1.0
Dépréciéen/a
apply_filters( 'allow_empty_comment', false, $commentdata )
Paramètres: (2)
  • (bool) $allow_empty_comment Whether to allow empty comments. Default false.
    Requis: Oui
  • (array) $commentdata Array of comment data to be sent to wp_insert_comment().
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether an empty comment should be allowed.





Source

$allow_empty_comment = apply_filters( 'allow_empty_comment', false, $commentdata );