delete_generated_data

The wp rcp delete_generated_data command deletes all data that was generated through wp rcp commands (such as wp rcp memberships --create).

Options:

  • --skip-memberships=<boolean>: Optional. Whether to skip deleting generated memberships.
  • --skip-customers=<boolean>: Optional. Whether to skip deleting generated customers.
  • --skip-payments=<boolean>: Optional. Whether to skip deleting generated payments.

Examples:

Delete all generated data.

wp rcp delete_generated_data

Delete generated payments only.

wp rcp delete_generated_data --skip-memberships --skip-customers