xmlrpc_call, wp.getComments, $args, $this

xmlrpc_call, wp.getComments, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('xmlrpc_call, wp.getComments, $args, $this') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 3674
    			return $this->error;
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getComments', $args, $this );
    
    		$status = $struct['status'] ?? '';
    
    		if ( ! current_user_can( 'moderate_comments' ) && 'approve' !== $status ) {
    			return new IXR_Error( 401, __( 'Invalid comment status.' ) );
    		}