W3cubDocs

/WordPress

apply_filters( 'xmlrpc_allow_anonymous_comments', bool $allow )

Filters whether to allow anonymous comments over XML-RPC.

Parameters

$allow

(bool) Whether to allow anonymous commenting via XML-RPC. Default false.

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_allow_anonymous_comments