On this page
apply_filters( 'xmlrpc_allow_anonymous_comments', bool $allow )
Filters whether to allow anonymous comments over XML-RPC.
Parameters
$allowbool-
Whether to allow anonymous commenting via XML-RPC.
Default false.
Source
File: wp-includes/class-wp-xmlrpc-server.php. View all references
$allow_anon = apply_filters( 'xmlrpc_allow_anonymous_comments', false );
Related
Used By
| Used By | Description |
|---|---|
| wp_xmlrpc_server::wp_newComment() wp-includes/class-wp-xmlrpc-server.php | Create new comment. |
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_allow_anonymous_comments