Support: LyftenBloggie
Print
Comment Plugins API
function display($id, $title){}
Function:
Return entry comments.
Attributes:
id[string] - Blog entry ID (required)
title[string] - Blog entry title
Returns:
String
function getCount ($id){}
Function:
Returns entry comment count.
Attributes:
id[string] - Blog entry ID (required)
Returns:
Array(total, approved, moderated, spam)
function getComments($args){}
Function:
Returns entry comments for XML-RPC.
Attributes:
args[array] - Array values: status, post_id, offset, number
Returns:
XML-RPC
function getComment($id){}
Function:
Returns entry comment based on ID.
Attributes:
id[string] – Comment’s ID (required)
Returns:
Array
function deleteComment($id){}
Function:
Deletes an entry’s comment based on comment ID.
Attributes:
id[string] – Comment’s ID (required)
Returns:
False or Error Message
function editComment($args){}
Function:
Edits a comment, used in XML-RPC.
Attributes:
args[array] – Comment values
Returns:
False or Error Message
function newComment($args){}
Function:
Creates a new comment, used in XML-RPC.
Attributes:
args[array] – Comment values
Returns:
False or Error Message