wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_preprocess_comment › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( 'rest_preprocess_comment', $prepared_comment, $request )
参数: (2) |
|
定义在: | |
文档: |
Filters a comment added via the REST API after it is prepared for insertion into the database.
Allows modification of the comment right after it is prepared for the database.
Related Functions: get_approved_comments, register_block_core_comments, get_page_of_comment, separate_comments, get_previous_comments_link, register_block_core_comment_date