WARNING: USE THE FOLLOWING CODE AT YOUR OWN RISK. THE MEMBERMOUSE CUSTOMER SUCCESS TEAM CANNOT SUPPORT IN THE INTERPRETATION OR USE OF THIS CODE.
IMPORTANT: make sure you take a backup of your database prior to doing any of the following...
Delete All Members
- Delete all rows from the following tables in the database:
mm_applied_bundles
mm_custom_field_data
mm_user_data
mm_log_events
mm_order_item_access
mm_orders
mm_card_on_file - Delete only those rows in the
wp_users table associated with the member accounts deleted from the
mm_user_data
table in the above step.
Delete Only Certain Members
If you want to bulk delete a specific set of members based on a SQL query that you write you can use this script:
DOWNLOAD SCRIPT HERE