Exemplo n.º 1
0
 /**
  * Call deactivation script
  *
  * @since 4.5
  *
  * @return void
  */
 public static function on_deactivate()
 {
     global $itsec_globals;
     //require plugin setup information
     if (!class_exists('ITSEC_Setup')) {
         require trailingslashit($itsec_globals['plugin_dir']) . 'core/class-itsec-setup.php';
     }
     ITSEC_Setup::on_deactivate();
 }
 /**
  * Call deactivation script
  *
  * @since 4.5
  *
  * @return void
  */
 public static function on_deactivate()
 {
     //require plugin setup information
     if (!class_exists('ITSEC_Setup')) {
         require self::get_core_dir() . '/class-itsec-setup.php';
     }
     ITSEC_Setup::on_deactivate();
 }