HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/jupiterx-core/includes/customizer/settings/header/popup.php
<?php
/**
 * Add Jupiter elements popup and tabs to the WordPress Customizer.
 *
 * @package JupiterX\Framework\Admin\Customizer
 *
 * @since   1.0.0
 */

add_action( 'jupiterx_header_settings_after_section', 'jupiterx_dependency_notice_handler', 10 );

// Header popup.
JupiterX_Customizer::add_section(
	'jupiterx_header',
	array(
		'priority' => 50,
		'title'    => __( 'Header', 'jupiterx-core' ),
		'type'     => 'container',
		'tabs'     => array(
			'settings' => __( 'Settings', 'jupiterx-core' ),
			'styles'   => __( 'Styles', 'jupiterx-core' ),
		),
		'boxes' => array(
			'settings'             => array(
				'label' => __( 'Settings', 'jupiterx-core' ),
				'tab'   => 'settings',
			),
			'logo'             => array(
				'label' => __( 'Logo', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'menu'             => array(
				'label' => __( 'Menu', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'submenu'          => array(
				'label' => __( 'Submenu', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'search'           => array(
				'label' => __( 'Search', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'container'        => array(
				'label' => __( 'Container', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'sticky_container' => array(
				'label' => __( 'Sticky Container', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'sticky_logo'      => array(
				'label' => __( 'Sticky Logo', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
			'empty_notice'      => array(
				'label' => __( 'Notice', 'jupiterx-core' ),
				'tab'   => 'styles',
			),
		),
		'help'     => array(
			'url'   => 'https://my.artbees.net/support/',
			'title' => __( 'Artbees Help Center', 'jupiterx-core' ),
		),
		'group'    => 'template_parts',
		'icon'     => 'header',
	)
);

// Load all the settings.
foreach ( glob( dirname( __FILE__ ) . '/*.php' ) as $setting ) {
	require_once $setting;
}