Tag Archives: wp_set_comment_status

wp_set_comment_status

Sets the status of a comment.The ‘wp_set_comment_status’ action is called after the comment is handled and will only be called, if the comment status is either ‘hold’, ‘approve’, or ‘spam’. If the comment status is not in the list, then false is returned and if the status is ‘delete’, then the comment is deleted without calling the action.

4101

Continue reading

wp_delete_comment

Trashes or deletes a comment.The comment is moved to trash instead of permanently deleted unless trash is disabled, item is already in the trash, or $force_delete is true.

3587

Continue reading