bp_cleanup_friendship_activities()
Remove all hidden friendship activities.
Description
Source
File: bp-core/bp-core-update.php
function bp_cleanup_friendship_activities() { bp_activity_delete( array( 'component' => buddypress()->friends->id, 'type' => 'friendship_created', 'hide_sitewide' => true, ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.2.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.