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

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

        return $this->sendRequest('wp.deletePost', $params);
    }
function deletePost ( $ postId ) { $ params = array ( 1 , $ this -> username , $ this -> password , $ postId ) ; return $ this -> sendRequest ( 'wp.deletePost' , $ params ) ; }
Delete an existing post of any registered post type.

@param integer $postId the id of selected post

@return boolean

@link http://codex.wordpress.org/XML-RPC_WordPress_API/Posts#wp.deletePost
Delete an existing post of any registered post type .