HEX
Server: LiteSpeed
System: Linux venus 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: axxoncom (1007)
PHP: 8.3.19
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/axxoncom/public_html/wp-content/plugins/elementskit-lite/libs/pro-label/init.php
<?php 
namespace ElementsKit_Lite\Libs\Pro_Label;

defined( 'ABSPATH' ) || exit;

class Init {
	use Admin_Notice;

	public function __construct() {
		add_action( 'current_screen', array( $this, 'hook_current_screen' ) );
	}

	public function hook_current_screen( $screen ) {
		if ( ! in_array( $screen->id, array( 'nav-menus', 'toplevel_page_elementskit', 'edit-elementskit_template', 'dashboard' ) ) ) {
			return;
		}

		$activation_stamp = get_option( 'elementskit_lite_activation_stamp' );
		if ( gmdate( 'd', ( time() - $activation_stamp ) ) > 10 ) {
			add_action( 'admin_head', array( $this, 'show_go_pro_notice' ) );
		}

		add_action( 'admin_footer', array( $this, 'footer_alert_box' ) );
	}
}