Knowledgebase
Trading Software > Help Desk > Knowledgebase

Search help:


XML-RPC metaWeblog.getCategories

Solution

2019-10-18: Created


Describes the arguments and return value of XMLRPC calls using XmlRpcMethod("metaWeblog.getCategories") 
Credit: https://ttmm.io
 
 

metaWeblog.getCategories

Function: Gets a list of categories used by the blog.

Parameters:

  • ID of the blog you’re working with (usually 0 for a single site)
  • WordPress username
  • WordPress password

 

Returns: Returns a simple array, where each element is an associate array defining the category:

  • ‘categoryID’ – ID of the category
  • ‘parentID’ – ID of the category’s parent
  • ‘description’ – Name of the category
  • ‘categoryDescription’ – Description of the category
  • ‘categoryName’ – Name of the category
  • ‘htmlUrl’ – Category permalink
  • ‘rssUrl’ – RSS feed for the category
 
Was this article helpful? yes / no
Related articles XML-RPC metaWeblog.getRecentPost
XML-RPC metaWeblog.newPost
XML-RPC metaWeblog.getPost
XML-RPC metaWeblog.newMediaObject
XML-RPC metaWeblog.editPost
Article details
Article ID: 247
Category: Wordpress
Rating (Votes): Article rated 3.1/5.0 (17)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies