/wp-content/plugins/
directory//this example demo how to query the clean video gallery posts set_time_limit(0); require_once("IXR_Library.php.inc"); $client->debug = true; // Set it to false in Production Environment // Create the client object $client = new IXR_Client('{hostname}','/xmlrpc.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13522981788714'); $username = "{admin login name}"; $password = "{password}"; $function_args = array(array('',$username,$password, array('post_type'=>'galleryvideo'))); $params = array($username,$password,"i_mpqvideogllrxmlrpc_metaweblog_getposts", $function_args); // Run a query To Read Posts From Wordpress $ret = $client->query('mpqvideogllrxmlrpc_extapi.callMpqVideoGllrMethod', $params); if (!$ret) { die('Something went wrong - '.$client->getErrorCode().' : '.$client->getErrorMessage()); } $myresponse = $client->getResponse(); print_r($myresponse); die();