bp_blogs_delete_activity

Delete a blog-related activity stream item.

Description

bp_blogs_delete_activity( (string) $args = '' ); 

Parameters (1)

0. $args — Optional. (string) => ''
The args.

Options

    ;        


    Usage

    1. if ( !function_exists( 'bp_blogs_delete_activity' ) ) { 
    2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-blogs/bp-blogs-activity.php'; 
    3.  
    4. // The args. 
    5. $args = ''; 
    6.  
    7. // NOTICE! Understand what this does before running. 
    8. $result = bp_blogs_delete_activity($args); 
    9.  

    Defined (1)

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

    /bp-blogs/bp-blogs-activity.php  
    1. function bp_blogs_delete_activity( $args = '' ) { 
    2. $r = bp_parse_args( $args, array( 
    3. 'item_id' => false,  
    4. 'component' =>buddypress)->blogs->id,  
    5. 'type' => false,  
    6. 'user_id' => false,  
    7. 'secondary_item_id' => false 
    8. ) ); 
    9.