wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



allow_empty_comment › WordPress Filter Hooks

Da5.1.0
Deprecaton/a
› apply_filters( 'allow_empty_comment', false, $commentdata )
Parametri: (2)
  • () allow_empty_comment Whether to allow empty comments. Default false.
    Richiesto: Sì
  • () commentdata Array of comment data to be sent to wp_insert_comment().
    Richiesto: Sì
Definito a:
Codex:

Filters whether an empty comment should be allowed.





Sorgenti

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