xprofile_remove_data( int $user_id )
When a user is deleted, we need to clean up the database and remove all the profile data from each table. Also we need to clean anything up in the usermeta table that this component uses.
Description Description
Parameters Parameters
- $user_id
-
(Required) The ID of the deleted user.
Source Source
File: bp-xprofile/bp-xprofile-functions.php
function xprofile_remove_data( $user_id ) { BP_XProfile_ProfileData::delete_data_for_user( $user_id ); }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |