allow_empty_comment

最后更新于:2021-11-25 20:25:01

apply_filters( ‘allow_empty_comment’, bool $allow_empty_comment, array $commentdata )

Filters whether an empty comment should be allowed.

参数

$allow_empty_comment

(bool)
Whether to allow empty comments. Default false.

$commentdata

(array)
Array of comment data to be sent to gc_insert_comment().

源文件

文件: gc-includes/comment.php

View on Trac