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.
Parameters Parameters
- $user_id
-
(int) (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 ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |