PHP Classes

File: uninstall.php

Recommend this page to a friend!
  Classes of Julio Cezar Kronbauer   PHP WooCommerce Correios   uninstall.php   Download  
File: uninstall.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP WooCommerce Correios
Woocommerce plugin for shipping via Correios
Author: By
Last change:
Date: 7 years ago
Size: 276 bytes
 

Contents

Class file image Download
<?php
/**
 * WooCommerce Correios Uninstall
 *
 * @package WooCommerce_Correios/Uninstaller
 * @since 3.0.0
 * @version 3.0.0
 */

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    exit;
}

global
$wpdb;

$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}correios_postcodes" );