IXR_Server::listMethods() WordPress Method

The IXR_Server::listMethods() method is a simple method that lists all the XML-RPC methods available on a WordPress site. This is useful for debugging purposes, or for building client applications that need to know what methods are available.

IXR_Server::listMethods( $args ) #

Contents


Source

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

    function listMethods($args)
    {
        // Returns a list of methods - uses array_reverse to ensure user defined
        // methods are listed before server defined methods
        return array_reverse(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.