bp_blogs_delete_activity_for_site( int $blog_id )
Delete all ‘blogs’ activity items for a site when the site is deleted.
Description
Parameters
- $blog_id
-
(Required) Site ID.
Source
File: bp-blogs/bp-blogs-activity.php
function bp_blogs_delete_activity_for_site( $blog_id ) {
bp_blogs_delete_activity( array(
'item_id' => $blog_id,
'component' => buddypress()->blogs->id,
'type' => false
) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.