PATH:
home
/
lab2454c
/
foreclass.com
/
wp-content
/
plugins
/
elementor
/
includes
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor maintenance. * * Elementor maintenance handler class is responsible for setting up Elementor * activation and uninstallation hooks. * * @since 1.0.0 */ class Maintenance { /** * Activate Elementor. * * Set Elementor activation hook. * * Fired by `register_activation_hook` when the plugin is activated. * * @since 1.0.0 * @access public * @static */ public static function activation( $network_wide ) { wp_clear_scheduled_hook( 'elementor/tracker/send_event' ); wp_schedule_event( time(), 'daily', 'elementor/tracker/send_event' ); flush_rewrite_rules(); if ( is_multisite() && $network_wide ) { return; } set_transient( 'elementor_activation_redirect', true, MINUTE_IN_SECONDS ); } /** * Uninstall Elementor. * * Set Elementor uninstallation hook. * * Fired by `register_uninstall_hook` when the plugin is uninstalled. * * @since 1.0.0 * @access public * @static */ public static function uninstall() { wp_clear_scheduled_hook( 'elementor/tracker/send_event' ); } /** * Init. * * Initialize Elementor Maintenance. * * @since 1.0.0 * @access public * @static */ public static function init() { register_activation_hook( ELEMENTOR_PLUGIN_BASE, [ __CLASS__, 'activation' ] ); register_uninstall_hook( ELEMENTOR_PLUGIN_BASE, [ __CLASS__, 'uninstall' ] ); } }
[+]
widgets
[+]
..
[-] maintenance.php
[edit]
[-] autoloader.php
[edit]
[+]
elements
[-] beta-testers.php
[edit]
[-] utils.php
[edit]
[-] plugin.php
[edit]
[+]
controls
[-] heartbeat.php
[edit]
[-] api.php
[edit]
[-] db.php
[edit]
[-] rollback.php
[edit]
[-] shapes.php
[edit]
[-] tracker.php
[edit]
[-] embed.php
[edit]
[-] maintenance-mode.php
[edit]
[-] stylesheet.php
[edit]
[+]
settings
[+]
interfaces
[+]
libraries
[-] preview.php
[edit]
[+]
admin-templates
[+]
base
[-] conditions.php
[edit]
[-] user.php
[edit]
[-] compatibility.php
[edit]
[+]
managers
[+]
template-library
[-] frontend.php
[edit]
[+]
editor-templates
[-] fonts.php
[edit]