Weak hands cannot be planted, meager skills have no foundation. Shallow wisdom is futile, how can one hope for a good name?扰扰从役倦，屑屑身事微。少壮轻年月，迟暮惜光辉。
<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Plugin compatibility for Max Mega Menu
 *
 * @since 4.4.5
 *
 * @link https://wordpress.org/plugins/megamenu/
 */
class ET_Builder_Plugin_Compat_Megamenu extends ET_Builder_Plugin_Compat_Base {
	/**
	 * Constructor
	 */
	public function __construct() {
		$this->plugin_id = 'megamenu/megamenu.php';
		$this->init_hooks();
	}

	/**
	 * Hook methods to WordPress
	 *
	 * @return void
	 */
	public function init_hooks() {
		// Bail if there's no version found
		if ( ! $this->get_plugin_version() ) {
			return;
		}

		add_filter( 'et_builder_get_widget_areas_list', array( $this, 'remove_sidebar' ) );
	}

	/**
	 * Remove Mega Menu sidebar from Builders widget areas list.
	 *
	 * @since 4.4.5
	 *
	 * @return void
	 */
	public function remove_sidebar( $list ) {
		// This plugin creates a custom sidebar for convenience: widgets added
		// to menus are also listed in Widgets WP Admin page and can be edited
		// there.

		// Such area can't be used by the Sidebar