wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_allow_anonymous_comments › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( 'rest_allow_anonymous_comments', false, $request )
Parameters: (2) |
|
Defined at: | |
Codex: |
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_legacy_post_comments_block, get_page_of_comment, render_block_core_comments