query.insert_comment

/ Database / query.insert_comment

 

Title : query.insert_comment
Purpose : Array of arguments for inserting a new comment,
inserts a comment into the database.Note: wp_insert_comment( array $commentdata )
Syntax :
Input Parameters : comment_post_ID, comment_author_email, comment_author,
comment_content etc…
Return Value : It returns: The new comment’s ID
Example 1 :
Code :
Output : Inserts a comment to the database
Description : #Return
(int|false) The new comment’s ID on success, false on failure.Visit: click here!
Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *