XProfile_Field::delete( $args, $assoc_args )
Delete an XProfile field.
Description Description
OPTIONS OPTIONS
[–delete-data] : Delete user data for the field as well.
[–yes] : Answer yes to the confirmation message.
## EXAMPLES
$ wp bp xprofile field delete 500 –yes Success: Deleted XProfile field “Field Name” (ID 500).
$ wp bp xprofile field remove 458 –delete-data –yes Success: Deleted XProfile field “Another Field Name” (ID 458).
Source Source
File: cli/src/xprofile-field.php