XProfile_Data::delete( $args, $assoc_args )
Delete XProfile data for a user.
Description Description
OPTIONS OPTIONS
–user-id=
[–field-id=
[–delete-all] : Delete all data for the user.
[–yes] : Answer yes to the confirmation message.
EXAMPLES EXAMPLES
$ wp bp xprofile data delete --user-id=45 --field-id=120 --yes
Success: XProfile data removed.
$ wp bp xprofile data remove --user-id=user_test --delete-all --yes
Success: XProfile data removed.
Source Source
File: cli/src/xprofile-data.php