Used By
Used By | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item_permissions_check() | Checks if a given request has access to create a comment. |
Filter whether comments can be created without authentication.
Enables creating comments for anonymous users.
(bool) Whether to allow anonymous comments to be created. Default false
.
(WP_REST_Request) Request used to generate the response.
File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_allow_anonymous_comments