XProfile_Field::delete( $args,  $assoc_args )

Delete an XProfile field.


Description Description

Top ↑

OPTIONS OPTIONS

… : ID or IDs for the field. Accepts either the name of the field or a numeric ID.
[–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


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.