src/WordpressClient.php
function getPostTypes(array $filter = array(), array $fields = array())
    {
        $params = array(1, $this->username, $this->password, $filter, $fields);

        return $this->sendRequest('wp.getPostTypes', $params);
    }
function getPostTypes(array $filter = array(), array $fields = array())
    {
        $params = array(1, $this->username, $this->password, $filter, $fields);

        return $this->sendRequest('wp.getPostTypes', $params);
    }
function getPostTypes ( array $ filter = array ( ) , array $ fields = array ( ) ) { $ params = array ( 1 , $ this -> username , $ this -> password , $ filter , $ fields ) ; return $ this -> sendRequest ( 'wp.getPostTypes' , $ params ) ; }
Retrieve list of registered post types.

@param array $filter
@param array $fields

@return array    list of struct

@link http://codex.wordpress.org/XML-RPC_WordPress_API/Posts#wp.getPostTypes
Retrieve list of registered post types .