You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
372 B
PHTML
17 lines
372 B
PHTML
8 months ago
|
<?php
|
||
|
/**
|
||
|
* Uninstall
|
||
|
*/
|
||
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||
|
exit;
|
||
|
}
|
||
|
$path=plugin_dir_path(__FILE__);
|
||
|
include_once($path . "cf7-hubspot.php");
|
||
|
include_once($path . "includes/install.php");
|
||
|
$install=new vxcf_hubspot_install();
|
||
|
$settings=get_option($install->id.'_settings',array());
|
||
|
if(!empty($settings['plugin_data'])){
|
||
|
$install->remove_data();
|
||
|
}
|
||
|
|