wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_allow_anonymous_comments › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( 'rest_allow_anonymous_comments', false, $request )
| 参数: (2) |
|
| 定义在: | |
| 文档: |
Filters whether comments can be created via the REST API without authentication.
Enables creating comments for anonymous users.Related Functions: register_block_core_comments, wp_allow_comment, register_block_core_post_comments_form, register_block_core_post_comments_link, register_block_core_post_comments_count, register_legacy_post_comments_block