Support » Plugins and Hacks » Hacks » XMLRPC Fields Filtering

  • Hi there

    I’m new here (and to WP). So please be kind :s

    I’m using XMLRPC to successfully return XML of posts (wp.getPosts) but I’m having difficulty in working out how to restrict or filter the returned XML

    I’ve searched and searched (both here and elsewhere) and I’m clearly missing something obvious.

    I’m trying various arguments in $params e.g.

    function getPosts()
    {
    $params = array(0,$this->UserName,$this->PassWord, array(‘post_id’));
    return $this->send_request(‘wp.getPosts’,$params);
    }

    but can’t seem to crack the combination or find a worked example, try as I may.

    Would someone please reach out and help me?

    Thanks in advance.

  • The topic ‘XMLRPC Fields Filtering’ is closed to new replies.