prefix . 'afromewo_abandoned_carts', $wpdb->prefix . 'afromewo_event_queue', $wpdb->prefix . 'afromewo_workflows', $wpdb->prefix . 'afromewo_workflow_queue', ); foreach ( $tables as $table ) { $wpdb->query( $wpdb->prepare( 'DROP TABLE IF EXISTS %i', $table ) ); } } afromewo_uninstall();