BP_Friendship_Export::process_erase( $user, $page, bool $email_address )
Delete friendship connection data.
Description
Parameters
- $user
-
(Required)
- $page
-
(Required)
- $email_address
-
(Required)
Return
(array)
Source
File: bp-core/gdpr/class-bp-friendship-export.php
function process_erase( $user, $page, $email_address ) { if ( ! $user || is_wp_error( $user ) ) { return $this->response_erase( array(), true ); } $items_removed = true; $items_retained = false; friends_remove_data( $user->ID ); $done = true; return $this->response_erase( $items_removed, $done, array(), $items_retained ); }
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.