wp_new_comment Wordpress function


Description:

Adds a new comment to the database.


Syntax:


Arguments:

(array) $commentdata Contains information on the comment.


Return Type:

(int) The ID of the comment after adding.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_new_comment


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×