IXR_Server::hasMethod() WordPress Method

The IXR_Server::hasMethod() method allows you to check if a method exists on a given XML-RPC server. This can be useful for debugging purposes.

IXR_Server::hasMethod( $method ) #


Source

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

    function hasMethod($method)
    {
        return in_array($method, array_keys($this->callbacks));
    }

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.