SILENT KILLERPanel

Current Path: > home > codekrsu > > shopceylon.store > wp-content > themes > astra > inc > compatibility


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//shopceylon.store/wp-content/themes/astra/inc/compatibility

NameTypeSizeLast ModifiedActions
edd Directory - -
learndash Directory - -
lifterlms Directory - -
starter-content Directory - -
surecart Directory - -
woocommerce Directory - -
class-astra-amp.php File 48248 bytes April 24 2025 09:51:30.
class-astra-bb-ultimate-addon.php File 11329 bytes February 26 2025 11:35:14.
class-astra-beaver-builder.php File 5765 bytes April 24 2025 09:51:30.
class-astra-beaver-themer.php File 11558 bytes April 24 2025 09:51:30.
class-astra-bne-flyout.php File 1166 bytes February 26 2025 11:35:14.
class-astra-contact-form-7.php File 1321 bytes February 26 2025 11:35:14.
class-astra-divi-builder.php File 1146 bytes February 26 2025 11:35:14.
class-astra-elementor-pro.php File 18218 bytes April 24 2025 09:51:30.
class-astra-elementor.php File 17673 bytes April 24 2025 09:51:30.
class-astra-gravity-forms.php File 1344 bytes February 26 2025 11:35:14.
class-astra-gutenberg.php File 6363 bytes February 26 2025 11:35:14.
class-astra-jetpack.php File 1519 bytes February 26 2025 11:35:14.
class-astra-site-origin.php File 1188 bytes February 26 2025 11:35:14.
class-astra-starter-content.php File 6597 bytes February 26 2025 11:35:14.
class-astra-ubermeu.php File 1810 bytes February 26 2025 11:35:14.
class-astra-visual-composer.php File 3475 bytes April 24 2025 09:51:30.
class-astra-web-stories.php File 2409 bytes February 26 2025 11:35:14.
class-astra-yoast-seo.php File 658 bytes February 26 2025 11:35:14.
index.php File 111 bytes November 11 2024 15:51:54.

Reading File: /home/codekrsu//shopceylon.store/wp-content/themes/astra/inc/compatibility/class-astra-ubermeu.php

<?php
/**
 * Ubermenu Compatibility File.
 *
 * @link https://Ubermenu.me/
 * @since  1.1.7
 *
 * @package Astra
 */

// If plugin - 'Ubermenu' not exist then return.
if ( ! class_exists( 'UberMenu' ) ) {
	return;
}

/**
 * Astra Ubermenu Compatibility
 */
if ( ! class_exists( 'Astra_Ubermeu' ) ) {

	/**
	 * Astra Ubermenu Compatibility
	 *
	 * @since 1.0.0
	 */
	class Astra_Ubermeu {
		/**
		 * Member Variable
		 *
		 * @var object instance
		 */
		private static $instance;

		/**
		 * Initiator
		 *
		 * @since  1.1.7
		 */
		public static function get_instance() {
			if ( ! isset( self::$instance ) ) {
				self::$instance = new self();
			}
			return self::$instance;
		}

		/**
		 * Constructor
		 *
		 * @since  1.1.7
		 */
		public function __construct() {
			add_filter( 'astra_enable_mobile_menu_buttons', array( $this, 'disable_primary_menu_toggle' ), 30 );
		}

		/**
		 * Disable the Mobile Menu toggles from Astra if Uber Menu is used.
		 *
		 * @since  1.1.7
		 * @param  bool $status Status if the mobile menu toggels are enaled or disaled.
		 * @return bool         False If ubermenu is configured on this location. Unchanged if it is not configured.
		 */
		public function disable_primary_menu_toggle( $status ) {

			// Don't overrde anythign if ubermenu's function is not present.
			if ( ! function_exists( 'ubermenu_get_menu_instance_by_theme_location' ) ) {
				return $status;
			}

			$ubermenu_auto_config = ubermenu_get_menu_instance_by_theme_location( 'primary' );

			// If ubermenu's auto configuration is not used here, don't override the filter.
			if ( '' === $ubermenu_auto_config || false === $ubermenu_auto_config ) {
				return $status;
			}

			return false;
		}

	}

}

/**
 * Kicking this off by calling 'get_instance()' method
 */
Astra_Ubermeu::get_instance();

SILENT KILLER Tool