Wordpress 如何使用metaWeblog.newPost(xmlrpc api)计划新的帖子?
我正在尝试使用XMLRPC API在我的站点上远程创建一篇新文章,并且我正在使用metaWeblog.newPost函数,如codex所示: 我已经成功地在WordPress上创建了新的帖子,但在日程安排方面我失败了Wordpress 如何使用metaWeblog.newPost(xmlrpc api)计划新的帖子?,wordpress,xml-rpc,xmlrpclib,Wordpress,Xml Rpc,Xmlrpclib,我正在尝试使用XMLRPC API在我的站点上远程创建一篇新文章,并且我正在使用metaWeblog.newPost函数,如codex所示: 我已经成功地在WordPress上创建了新的帖子,但在日程安排方面我失败了 $content['title'] = $title; $content['excerpt'] = $post_content; $content['categories'] = array($response[1]['categoryName']); $content['des
$content['title'] = $title;
$content['excerpt'] = $post_content;
$content['categories'] = array($response[1]['categoryName']);
$content['description'] = $post_content;
$content['mt_keywords'] = $post_tags;
if (!$client->query('metaWeblog.newPost','', $admin, $pass, $content, true)) {
echo "Post created!";
}
我如何安排一个帖子?我在法典中没有看到任何时间表。我应该添加什么日期参数?谢谢