<?php

/*
Plugin Name: MotoPress Demo - Delete Custom Tables
Plugin URI: https://motopress.com
Description: This plugin allows you to indicate what custom tables should be deleted along with sandbox removal.
Author: MotoPress
Version: 1.0
Author URI: https://motopress.com
*/


function demo_delete_my_custom_tables( $tables ) {
	global $wpdb;

	// add your tables here
	$tables[] = $wpdb->prefix . 'mprm_customer';

	/*$tables[] = $wpdb->prefix . 'woocommerce_log';
	... */

	return $tables;
}

add_filter('wpmu_drop_tables', 'demo_delete_my_custom_tables');