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

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

        return $this->sendRequest('wp.getPostType', $params);
    }
function getPostType ( $ postTypeName , array $ fields = array ( ) ) { $ params = array ( 1 , $ this -> username , $ this -> password , $ postTypeName , $ fields ) ; return $ this -> sendRequest ( 'wp.getPostType' , $ params ) ; }
Retrieve a registered post type.

@param string $postTypeName the post type name
@param array  $fields       (optional) list of field or meta-field names to include in response.

@return array

@link http://codex.wordpress.org/XML-RPC_WordPress_API/Posts#wp.getPostType
Retrieve a registered post type .