bp_blogs_remove_comment

Remove a blog comment activity item from the activity stream.

Description

bp_blogs_remove_comment( (int) $comment_id ); 

Parameters (1)

0. $comment_id (int)
ID of the comment to be removed.

Usage

  1. if ( !function_exists( 'bp_blogs_remove_comment' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/deprecated/2.5.php'; 
  3.  
  4. // ID of the comment to be removed. 
  5. $comment_id = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_blogs_remove_comment($comment_id); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bp-core/deprecated/2.5.php  
  1. function bp_blogs_remove_comment( $comment_id ) { 
  2. _deprecated_function( __FUNCTION__, '2.5.0', 'bp_activity_post_type_remove_comment()' );