BP_Activity_Follow::delete()
Deletes a follow relationship from the database.
Description
Source
File: bp-activity/classes/class-bp-activity-follow.php
public function delete() { global $wpdb, $bp; return $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->activity->table_name_follow} WHERE id = %d", $this->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.