HEX
Server: Apache
System: Linux sxb1plmcpnl510113.prod.sxb1.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: acnbijigo78q (10488831)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/acnbijigo78q/public_html/jetk.sa/wp-content/plugins/wpml-cms-nav/plugin.php
<?php
/**
 * Plugin Name: WPML CMS Navigation
 * Plugin URI: https://wpml.org/
 * Description: Adds CMS navigation elements to sites built with WPML | <a href="https://wpml.org">Documentation</a> | <a href="https://wpml.org/version/wpml-cms-nav-1-5-6/">WPML CMS Nav 1.5.6 release notes</a>
 * Author: OnTheGoSystems
 * Author URI: http://www.onthegosystems.com/
 * Version: 1.5.6
 * Plugin Slug: wpml-cms-nav
 *
 * @package WPML\cms-nav
 */

if ( defined( 'WPML_CMS_NAV_VERSION' ) ) {
	return;
}

define( 'WPML_CMS_NAV_VERSION', '1.5.6' );
define( 'WPML_CMS_NAV_PLUGIN_PATH', dirname( __FILE__ ) );

require_once WPML_CMS_NAV_PLUGIN_PATH . '/vendor/autoload.php';

require WPML_CMS_NAV_PLUGIN_PATH . '/inc/constants.php';
require WPML_CMS_NAV_PLUGIN_PATH . '/inc/cache.class.php';
require WPML_CMS_NAV_PLUGIN_PATH . '/inc/functions.php';
require WPML_CMS_NAV_PLUGIN_PATH . '/inc/upgrade.php';

$wpml_cms_navigation = new WPML_CMS_Navigation();

// Multisite support.
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
	$wpmu_sitewide_plugins = (array) maybe_unserialize( get_site_option( 'active_sitewide_plugins' ) );
	if ( false === get_option( 'wpml_cms_nav_settings', false ) && isset( $wpmu_sitewide_plugins[ WPML_CMS_NAV_PLUGIN_FOLDER . '/' . basename( __FILE__ ) ] ) ) {
		$wpml_cms_navigation->plugin_activate();
	}
}

register_activation_hook( WP_PLUGIN_DIR . '/' . WPML_CMS_NAV_PLUGIN_FOLDER . '/plugin.php', [ $wpml_cms_navigation, 'plugin_activate' ] );
register_deactivation_hook( WP_PLUGIN_DIR . '/' . WPML_CMS_NAV_PLUGIN_FOLDER . '/plugin.php', [ $wpml_cms_navigation, 'plugin_deactivate' ] );

add_filter( 'plugin_action_links', [ $wpml_cms_navigation, 'plugin_action_links' ], 10, 2 );

if ( defined( 'ICL_SITEPRESS_VERSION' ) && ( ! defined( 'ICL_PLUGIN_INACTIVE') || ! ICL_PLUGIN_INACTIVE ) ) {
	$app = new \WPML\Nav\Presentation\App();
	$app->run();
}