hooks(); return self::$_instance; } public function hooks() { $show_bottom_header = (boolean)agency_ecommerce_get_option('show_bottom_header'); if (!$show_bottom_header) { return; } add_action('agency_ecommerce_before_bottom_header', array($this, 'agency_ecommerce_before_bottom_header_action'), 10); add_action('agency_ecommerce_bottom_header', array($this, 'agency_ecommerce_bottom_header_action'), 10); add_action('agency_ecommerce_after_bottom_header', array($this, 'agency_ecommerce_after_bottom_header_action'), 10); } public function agency_ecommerce_before_bottom_header_action() { $special_menu_alignment = agency_ecommerce_get_option('special_menu_alignment'); ?>