site_oueb_2/wp-content/plugins/blockart-blocks/includes/Deactivation.php

37 lines
539 B
PHP
Raw Permalink Normal View History

2022-11-22 20:23:31 +01:00
<?php
/**
* Deactivation class.
*
* @package BlockArt
* @since 1.0.0
*/
namespace BlockArt;
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
use BlockArt\Traits\Singleton;
/**
* Deactivation class.
*/
class Deactivation {
use Singleton;
/**
* Constructor.
*/
protected function __construct() {
register_deactivation_hook( BLOCKART_PLUGIN_FILE, array( __CLASS__, 'on_deactivate' ) );
}
/**
* Callback for plugin deactivation hook.
*
* @since 1.0.0
*/
public static function on_deactivate() {}
}