在Wordpress PHP到.NET中创建类别

时间:2014-09-22 07:32:22

标签: c# .net rpc xml-rpc

我需要从PHP转换为(.NET)中的Wordpress类别创建,因为我只能在c#中使用Programm

    <?php
        include ("IXR_Library.php");

        $log = '';
        $pwd = '';
        $xmlrpc = 'http://www..com/xmlrpc.php';

        $client = new IXR_Client($xmlrpc);

        $res = $client->query('wp.newCategory', '', $log, $pwd,
        array(
        'name' => '@MyCat000egory',
        'slug' => 'my-category-slug',
        'parent_id' => 0,
        'description' => 'Test category by xml-rpc'
        )
        );
?>

0 个答案:

没有答案