<?php

if ( ! function_exists( 'theaisle_elated_logo_meta_box_map' ) ) {
	function theaisle_elated_logo_meta_box_map() {
		
		$logo_meta_box = theaisle_elated_create_meta_box(
			array(
				'scope' => apply_filters( 'theaisle_elated_filter_set_scope_for_meta_boxes', array( 'page', 'post' ), 'logo_meta' ),
				'title' => esc_html__( 'Logo', 'theaisle' ),
				'name'  => 'logo_meta'
			)
		);
		
		theaisle_elated_create_meta_box_field(
			array(
				'name'        => 'eltdf_logo_image_meta',
				'type'        => 'image',
				'label'       => esc_html__( 'Logo Image - Default', 'theaisle' ),
				'description' => esc_html__( 'Choose a default logo image to display ', 'theaisle' ),
				'parent'      => $logo_meta_box
			)
		);
		
		theaisle_elated_create_meta_box_field(
			array(
				'name'        => 'eltdf_logo_image_dark_meta',
				'type'        => 'image',
				'label'       => esc_html__( 'Logo Image - Dark', 'theaisle' ),
				'description' => esc_html__( 'Choose a default logo image to display ', 'theaisle' ),
				'parent'      => $logo_meta_box
			)
		);
		
		theaisle_elated_create_meta_box_field(
			array(
				'name'        => 'eltdf_logo_image_light_meta',
				'type'        => 'image',
				'label'       => esc_html__( 'Logo Image - Light', 'theaisle' ),
				'description' => esc_html__( 'Choose a default logo image to display ', 'theaisle' ),
				'parent'      => $logo_meta_box
			)
		);
		
		theaisle_elated_create_meta_box_field(
			array(
				'name'        => 'eltdf_logo_image_sticky_meta',
				'type'        => 'image',
				'label'       => esc_html__( 'Logo Image - Sticky', 'theaisle' ),
				'description' => esc_html__( 'Choose a default logo image to display ', 'theaisle' ),
				'parent'      => $logo_meta_box
			)
		);
		
		theaisle_elated_create_meta_box_field(
			array(
				'name'        => 'eltdf_logo_image_mobile_meta',
				'type'        => 'image',
				'label'       => esc_html__( 'Logo Image - Mobile', 'theaisle' ),
				'description' => esc_html__( 'Choose a default logo image to display ', 'theaisle' ),
				'parent'      => $logo_meta_box
			)
		);
	}
	
	add_action( 'theaisle_elated_action_meta_boxes_map', 'theaisle_elated_logo_meta_box_map', 47 );
}