bp_blogs_delete_activity_for_site( int $blog_id )

Delete all ‘blogs’ activity items for a site when the site is deleted.

Parameters Parameters


(int) (Required) Site ID.

Source 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
	) );

Top ↑

Changelog Changelog

Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.