Knowledgebase
Trading Software > Help Desk > Knowledgebase

Search help:


XML-RPC metaWeblog.getPost

Solution

2019-10-18: Created


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

metaWeblog.getPost

Function: Gets the value of a given post on the blog.
Parameters:
  • ID of the post you want to retrieve
  • WordPress username
  • WordPress password

Returns: An associative array of the post content.

  • ‘dateCreated’ – Post publication date
  • ‘userid’ – ID of the post author
  • ‘postid’ – ID of the post itself
  • ‘description’ – Post content
  • ‘title’ – Post title
  • ‘link’ – Post permalink
  • ‘permaLink’ – Post permalink
  • ‘categories’ – Array of post categories
  • ‘mt_excerpt’ – Post excerpt
  • ‘mt_text_more’ – Read More text
  • ‘mt_allow_comments’ – Whether comments are open or closed
  • ‘mt_allow_pings’ – Whether pings are open or closed
  • ‘mt_keywords’ – Array of post tags
  • ‘wp_slug’ – Post slug
  • ‘wp_password’ – Post password
  • ‘wp_author_id’ – ID of the post author
  • ‘wp_author_display_name’ – Display name of the post author
  • ‘date_created_gmt’ – Post publication date (as GMT time)
  • ‘post_status’ – Post publication status
  • ‘custom_fields’ – Array of custom fields
  • ‘sticky’ – Whether or not the post is marked as “sticky”
 
Was this article helpful? yes / no
Related articles XML-RPC metaWeblog.newPost
XML-RPC metaWeblog.getRecentPost
XML-RPC metaWeblog.editPost
Adding a Blog Post
XML-RPC metaWeblog.getCategories
Article details
Article ID: 245
Category: Wordpress
Rating (Votes): Article rated 3.2/5.0 (18)

 
« Go back

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