xmlrpc_allow_anonymous_comments, false

xmlrpc_allow_anonymous_comments, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('xmlrpc_allow_anonymous_comments, false') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 3928
    		 *
    		 * @param bool $allow Whether to allow anonymous commenting via XML-RPC.
    		 *                    Default false.
    		 */
    		$allow_anon = apply_filters( 'xmlrpc_allow_anonymous_comments', false );
    
    		$user = $this->login( $username, $password );
    
    		if ( ! $user ) {
    			$logged_in = false;
    			if ( $allow_anon && get_option( 'comment_registration' ) ) {