This commit is contained in:
proelements
2025-11-13 15:18:34 +02:00
commit 9ac2bf2aa0
1178 changed files with 296944 additions and 0 deletions

19
core/maintenance.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
namespace ElementorPro\Core;
use ElementorPro\License\API;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Maintenance {
public static function init(): void {
register_deactivation_hook( ELEMENTOR_PRO_PLUGIN_BASE, [ __CLASS__, 'on_deactivated' ] );
}
public static function on_deactivated(): void {
API::get_version( true, 'deactivated' );
}
}