KapostService::newPost
Handles creation of a new post
Signature
protected function newPost(mixed
$blog_id,
array
$content,
int
$publish,
[boolean
$isPreview = false] )
Parameters
$blog_id
— mixed- Identifier for the current site
$content
— array- Post details
$publish
— int- 0 or 1 depending on whether to publish the post or not
$isPreview
— boolean- Is preview mode or not (defaults to false)