Current Path : /storage/v11800/romasitenew/public_html/wp-content/plugins/header-footer-code-manager/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/romasitenew/public_html/wp-content/plugins/header-footer-code-manager/uninstall.php |
<?php
// If uninstall is not called from WordPress, exit
if (! defined('WP_UNINSTALL_PLUGIN') ) {
exit;
}
$option_name = 'hfcm_db_version';
delete_option($option_name);
// Drop a custom db table
global $wpdb;
$table_name = $wpdb->prefix . 'hfcm_scripts';
$wpdb->query("DROP TABLE IF EXISTS $table_name");