wp_delete_comment Wordpress function


Description:

Trashes or deletes a comment.


Syntax:


Arguments:

(int) $comment_id Comment ID
(bool) $force_delete Whether to bypass trash and force deletion. Default is false.


Return Type:

(bool) False if delete comment query failure, true on success.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_delete_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 ×