在评论的数据被清理并插入数据库之前对其进行过滤。
原型
apply_filters( 'preprocess_comment', array $commentdata )
参数
$commentdata
(array)
评论数据。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/preprocess_comment/
在评论的数据被清理并插入数据库之前对其进行过滤。
apply_filters( 'preprocess_comment', array $commentdata )
$commentdata
(array)
评论数据。
路径:wp-includes/comment.php
英文文档:https://developer.wordpress.org/reference/hooks/preprocess_comment/
请在后台设置小工具!