bp_remove_follow_data( $user_id )
Removes follow relationships for all users from a user who is deleted or spammed
Description
Source
File: bp-activity/bp-activity-functions.php
function bp_remove_follow_data( $user_id ) {
/**
* @todo add title/description
*
* @since BuddyBoss 1.0.0
*/
do_action( 'bp_before_remove_follow_data', $user_id );
BP_Activity_Follow::delete_all_for_user( $user_id );
/**
* @todo add title/description
*
* @since BuddyBoss 1.0.0
*/
do_action( 'bp_remove_follow_data', $user_id );
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.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.