<?php
/**
 * Customizer options.
 *
 * @package CosmosWP
 */

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

if ( ! function_exists( 'cosmoswp_dynamic_css_option' ) ) :

	/**
	 * Site General Layout
	 * This is apply for header, footer and site main content
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_dynamic_css_option
	 */
	function cosmoswp_dynamic_css_option() {
		$cosmoswp_dynamic_css_option = array(
			'wp-head' => esc_html__( 'WP Head', 'cosmoswp' ),
			'file'    => esc_html__( 'File', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_dynamic_css_option', $cosmoswp_dynamic_css_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_header_top_height_option' ) ) :

	/**
	 * Header Top Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_header_top_height_option
	 */
	function cosmoswp_header_top_height_option() {
		$cosmoswp_header_top_height_option = array(
			'auto'   => esc_html__( 'Auto', 'cosmoswp' ),
			'custom' => esc_html__( 'Custom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_header_top_height_option', $cosmoswp_header_top_height_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_footer_height_option' ) ) :

	/**
	 * Footer Top Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_footer_height_option
	 */
	function cosmoswp_footer_height_option() {
		$cosmoswp_footer_height_option = array(
			'auto'   => esc_html__( 'Auto', 'cosmoswp' ),
			'custom' => esc_html__( 'Custom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_footer_height_option', $cosmoswp_footer_height_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_main_general_layout_option' ) ) :

	/**
	 * General Setting->General Layout
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_site_main_general_layout_option
	 */
	function cosmoswp_site_main_general_layout_option() {
		$cosmoswp_site_main_general_layout_option = array(
			'cwp-full-width-body'  => esc_html__( 'Full Width Body', 'cosmoswp' ),
			'cwp-boxed-width-body' => esc_html__( 'Boxed Width Body', 'cosmoswp' ),
			'cwp-fluid-width-body' => esc_html__( 'Fluid Width Body', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_main_general_layout_option', $cosmoswp_site_main_general_layout_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_general_layout_option' ) ) :

	/**
	 * Site General Layout
	 * This is apply for header, footer and site main content
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @param boolean $not_dependent Optional. If true, it will not add inherit option. Default is false.
	 * @return array $cosmoswp_site_general_layout_option
	 */
	function cosmoswp_site_general_layout_option( $not_dependent = false ) {
		$cosmoswp_site_general_layout_option = array(
			'cwp-full-width-header'  => esc_html__( 'Full Width Header', 'cosmoswp' ),
			'cwp-boxed-width-header' => esc_html__( 'Boxed Width Header', 'cosmoswp' ),
			'cwp-fluid-width-header' => esc_html__( 'Fluid Width Header', 'cosmoswp' ),
		);
		if ( ! $not_dependent ) {
			$dependent                           = array( 'inherit' => esc_html__( 'Inherit', 'cosmoswp' ) );
			$cosmoswp_site_general_layout_option = array_merge( $dependent, $cosmoswp_site_general_layout_option );
		}
		return apply_filters( 'cosmoswp_site_general_layout_option', $cosmoswp_site_general_layout_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_footer_layout_option' ) ) :

	/**
	 * Footer Layout
	 * This is apply for footer
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @param boolean $not_dependent Optional. If true, it will not add inherit option. Default is false.
	 * @return array $cosmoswp_site_footer_layout_option
	 */
	function cosmoswp_site_footer_layout_option( $not_dependent = false ) {
		$cosmoswp_site_footer_layout_option = array(
			'cwp-full-width-footer'  => esc_html__( 'Full Width Footer', 'cosmoswp' ),
			'cwp-boxed-width-footer' => esc_html__( 'Boxed Width Footer', 'cosmoswp' ),
			'cwp-fluid-width-footer' => esc_html__( 'Fluid Width Footer', 'cosmoswp' ),
		);
		if ( ! $not_dependent ) {
			$dependent                          = array( 'inherit' => esc_html__( 'Inherit', 'cosmoswp' ) );
			$cosmoswp_site_footer_layout_option = array_merge( $dependent, $cosmoswp_site_footer_layout_option );
		}
		return apply_filters( 'cosmoswp_site_footer_layout_option', $cosmoswp_site_footer_layout_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_footer_display_style_option' ) ) :

	/**
	 * Footer style
	 * This is apply for footer
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_site_footer_display_style_option
	 */
	function cosmoswp_site_footer_display_style_option() {
		$cosmoswp_site_footer_display_style_option = array(
			'cwp-normal-footer'   => esc_html__( 'Normal Footer', 'cosmoswp' ),
			'cwp-parallax-footer' => esc_html__( 'Parallax Footer', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_footer_display_style_option', $cosmoswp_site_footer_display_style_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_inherit_options' ) ) :

	/**
	 * Inherit Options
	 * Inherit from previous options or want custom
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_inherit_options
	 */
	function cosmoswp_inherit_options() {
		$cosmoswp_inherit_options = array(
			'inherit' => esc_html__( 'Inherit', 'cosmoswp' ),
			'custom'  => esc_html__( 'Custom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_inherit_options', $cosmoswp_inherit_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_header_bg_options' ) ) :

	/**
	 * Header Background options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_header_bg_options
	 */
	function cosmoswp_header_bg_options() {
		$cosmoswp_header_bg_options = array(
			'none'   => esc_html__( 'None', 'cosmoswp' ),
			'custom' => esc_html__( 'Custom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_header_bg_options', $cosmoswp_header_bg_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_footer_bg_options' ) ) :

	/**
	 * Footer Background options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_footer_bg_options
	 */
	function cosmoswp_footer_bg_options() {
		$cosmoswp_footer_bg_options = array(
			'none'   => esc_html__( 'None', 'cosmoswp' ),
			'custom' => esc_html__( 'Custom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_footer_bg_options', $cosmoswp_footer_bg_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_content_layout_option' ) ) :

	/**
	 * Main content layout
	 * This does not apply on header and footer
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_site_content_layout_option
	 */
	function cosmoswp_site_content_layout_option() {
		$cosmoswp_site_content_layout_option = array(
			'cwp-content-default'        => esc_html__( 'Default', 'cosmoswp' ),
			'cwp-separate-boxed'         => esc_html__( 'Separate Boxed', 'cosmoswp' ),
			'cwp-content-boxed'          => esc_html__( 'Content Boxed', 'cosmoswp' ),
			'cwp-content-separate-boxed' => esc_html__( 'Content Separate Boxed', 'cosmoswp' ),
			'cwp-sidebar-boxed'          => esc_html__( 'Sidebar Boxed', 'cosmoswp' ),
			'cwp-sidebar-separate-boxed' => esc_html__( 'Sidebar Separate Boxed', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_content_layout_option', $cosmoswp_site_content_layout_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_header_layout_options' ) ) :

	/**
	 * Header layout options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_header_layout_options
	 */
	function cosmoswp_header_layout_options() {
		$cosmoswp_header_layout_options = array(
			'normal'                  => esc_html__( 'Normal', 'cosmoswp' ),
			'cwp-overlay-fixed'       => esc_html__( 'Overlay Fixed Header', 'cosmoswp' ),
			'cwp-overlay-transparent' => esc_html__( 'Overlay Transparent Header', 'cosmoswp' ),
			'cwp-vertical-header'     => esc_html__( 'Vertical Header', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_header_layout_options', $cosmoswp_header_layout_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_login_register_options' ) ) :

	/**
	 * Login/Register options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_login_register_options
	 */
	function cosmoswp_login_register_options() {
		$cosmoswp_login_register_options = array(
			'link'      => esc_html__( 'Link', 'cosmoswp' ),
			'shortcode' => esc_html__( 'Shortcode', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_login_register_options', $cosmoswp_login_register_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_menu_indicator_options' ) ) :

	/**
	 * Menu Indicator options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_menu_indicator_options
	 */
	function cosmoswp_menu_indicator_options() {
		$cosmoswp_menu_indicator_options = array(
			'text' => esc_html__( 'Text', 'cosmoswp' ),
			'icon' => esc_html__( 'Icon', 'cosmoswp' ),
			'both' => esc_html__( 'Icon and Text', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_menu_indicator_options', $cosmoswp_menu_indicator_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_search_template_options' ) ) :

	/**
	 * Menu Indicator options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_menu_indicator_options
	 */
	function cosmoswp_search_template_options() {
		$cosmoswp_search_template_options = array(
			'default'      => esc_html__( 'Default', 'cosmoswp' ),
			'cwp-search-1' => esc_html__( 'Template 1', 'cosmoswp' ),
			'cwp-search-2' => esc_html__( 'Template 2', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_search_template_options', $cosmoswp_search_template_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_menu_display_options' ) ) :

	/**
	 * Menu display options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_menu_display_options
	 */
	function cosmoswp_menu_display_options() {
		$cosmoswp_menu_display_options = array(
			'cwp-left-menu-slide'  => esc_html__( 'Slide Left', 'cosmoswp' ),
			'cwp-right-menu-slide' => esc_html__( 'Slide Right', 'cosmoswp' ),
			'cwp-left-menu-push'   => esc_html__( 'Push Left', 'cosmoswp' ),
			'cwp-right-menu-push'  => esc_html__( 'Push Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_menu_display_options', $cosmoswp_menu_display_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_position_options' ) ) :

	/**
	 * Position options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_menu_display_options
	 */
	function cosmoswp_position_options() {
		$cosmoswp_position_options = array(
			'cwp-position-left'   => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-position-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-position-right'  => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_position_options', $cosmoswp_position_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_header_border_style' ) ) :

	/**
	 * Header Border Style
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_header_border_style
	 */
	function cosmoswp_header_border_style() {
		$cosmoswp_header_border_style = array(
			'none'   => esc_html__( 'None', 'cosmoswp' ),
			'solid'  => esc_html__( 'Solid', 'cosmoswp' ),
			'dotted' => esc_html__( 'Dotted', 'cosmoswp' ),
			'dashed' => esc_html__( 'Dashed', 'cosmoswp' ),
			'double' => esc_html__( 'Double', 'cosmoswp' ),
			'ridge'  => esc_html__( 'Ridge', 'cosmoswp' ),
			'inset'  => esc_html__( 'Inset', 'cosmoswp' ),
			'outset' => esc_html__( 'outset', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_header_border_style', $cosmoswp_header_border_style );
	}
endif;

if ( ! function_exists( 'cosmoswp_vertical_header_position' ) ) :

	/**
	 * Vertical Header Position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_vertical_header_position
	 */
	function cosmoswp_vertical_header_position() {
		$cosmoswp_vertical_header_position = array(
			'cwp-vertical-header-left'  => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-vertical-header-right' => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_vertical_header_position', $cosmoswp_vertical_header_position );
	}
endif;

if ( ! function_exists( 'cosmoswp_typography_group_fields' ) ) :

	/**
	 * Typography
	 * This is Typography options array
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_typography_group_fields
	 */
	function cosmoswp_typography_group_fields() {
		$text_transformation_options      = array(
			'none'       => esc_html__( 'None', 'cosmoswp' ),
			'capitalize' => esc_html__( 'Capitalize', 'cosmoswp' ),
			'uppercase'  => esc_html__( 'Uppercase', 'cosmoswp' ),
			'lowercase'  => esc_html__( 'Lowercase', 'cosmoswp' ),
			'initial'    => esc_html__( 'Initial', 'cosmoswp' ),
			'inherit'    => esc_html__( 'Inherit', 'cosmoswp' ),
		);
		$text_decoration_options          = array(
			'none'         => esc_html__( 'None', 'cosmoswp' ),
			'overline'     => esc_html__( 'Overline', 'cosmoswp' ),
			'line-through' => esc_html__( 'Line-through', 'cosmoswp' ),
			'underline'    => esc_html__( 'Underline', 'cosmoswp' ),
		);
		$font_style_options               = array(
			'normal'  => esc_html__( 'Normal', 'cosmoswp' ),
			'italic'  => esc_html__( 'Italic', 'cosmoswp' ),
			'bold'    => esc_html__( 'Bold', 'cosmoswp' ),
			'oblique' => esc_html__( 'Oblique', 'cosmoswp' ),
		);
		$font_weight_options              = array(
			'100' => esc_html__( '100', 'cosmoswp' ),
			'200' => esc_html__( '200', 'cosmoswp' ),
			'300' => esc_html__( '300', 'cosmoswp' ),
			'400' => esc_html__( '400', 'cosmoswp' ),
			'500' => esc_html__( '500', 'cosmoswp' ),
			'600' => esc_html__( '600', 'cosmoswp' ),
			'700' => esc_html__( '700', 'cosmoswp' ),
			'800' => esc_html__( '800', 'cosmoswp' ),
			'900' => esc_html__( '900', 'cosmoswp' ),
		);
		$cosmoswp_typography_group_fields = array(
			'font-type'       => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Font Type', 'cosmoswp' ),
				'options' => array(
					'system' => esc_html__( 'System', 'cosmoswp' ),
					'google' => esc_html__( 'Google', 'cosmoswp' ),
					'custom' => esc_html__( 'Custom', 'cosmoswp' ),
				),
			),
			'system-font'     => array(
				'type'    => 'select',
				'label'   => esc_html__( 'System Fonts', 'cosmoswp' ),
				'options' => array(),
			),
			'google-font'     => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Google Fonts', 'cosmoswp' ),
				'options' => array(),
			),
			'custom-font'     => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Custom Fonts', 'cosmoswp' ),
				'options' => array(),
			),
			'font-weight'     => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Font Weight', 'cosmoswp' ),
				'options' => $font_weight_options,
			),
			'font-style'      => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Font Style', 'cosmoswp' ),
				'options' => $font_style_options,
			),
			'text-decoration' => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Text Decoration', 'cosmoswp' ),
				'options' => $text_decoration_options,
			),
			'text-transform'  => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Text Transform', 'cosmoswp' ),
				'options' => $text_transformation_options,
			),
			'font-size'       => array(
				'type'  => 'responsive_number',
				'label' => esc_html__( 'Font Size (px)', 'cosmoswp' ),
			),
			'line-height'     => array(
				'type'  => 'responsive_number',
				'label' => esc_html__( 'Line height (px)', 'cosmoswp' ),
			),
			'letter-spacing'  => array(
				'type'  => 'responsive_number',
				'label' => esc_html__( 'Letter Spacing (px)', 'cosmoswp' ),
			),
		);
		return apply_filters( 'cosmoswp_typography_group_fields', $cosmoswp_typography_group_fields );
	}
endif;

if ( ! function_exists( 'cosmoswp_sub_typography_group_fields' ) ) :

	/**
	 * Sub Typography
	 * This is Sub Typography options array
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_sub_typography_group_fields
	 */
	function cosmoswp_sub_typography_group_fields() {
		$text_transformation_options          = array(
			'none'       => esc_html__( 'None', 'cosmoswp' ),
			'capitalize' => esc_html__( 'Capitalize', 'cosmoswp' ),
			'uppercase'  => esc_html__( 'Uppercase', 'cosmoswp' ),
			'lowercase'  => esc_html__( 'Lowercase', 'cosmoswp' ),
			'initial'    => esc_html__( 'Initial', 'cosmoswp' ),
			'inherit'    => esc_html__( 'Inherit', 'cosmoswp' ),
		);
		$text_decoration_options              = array(
			'none'         => esc_html__( 'None', 'cosmoswp' ),
			'overline'     => esc_html__( 'Overline', 'cosmoswp' ),
			'line-through' => esc_html__( 'Line-through', 'cosmoswp' ),
			'underline'    => esc_html__( 'Underline', 'cosmoswp' ),
		);
		$font_style_options                   = array(
			'normal'  => esc_html__( 'Normal', 'cosmoswp' ),
			'italic'  => esc_html__( 'Italic', 'cosmoswp' ),
			'bold'    => esc_html__( 'Bold', 'cosmoswp' ),
			'oblique' => esc_html__( 'Oblique', 'cosmoswp' ),
		);
		$cosmoswp_sub_typography_group_fields = array(
			'font-style'      => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Font Style', 'cosmoswp' ),
				'options' => $font_style_options,
			),
			'text-decoration' => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Text Decoration', 'cosmoswp' ),
				'options' => $text_decoration_options,
			),
			'text-transform'  => array(
				'type'    => 'select',
				'label'   => esc_html__( 'Text Transform', 'cosmoswp' ),
				'options' => $text_transformation_options,
			),
		);
		return apply_filters( 'cosmoswp_sub_typography_group_fields', $cosmoswp_sub_typography_group_fields );
	}
endif;

if ( ! function_exists( 'cosmoswp_header_image_display' ) ) :

	/**
	 * Menu and Logo Display Options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_header_image_display
	 */
	function cosmoswp_header_image_display() {
		$cosmoswp_header_image_display = array(
			'hide'         => esc_html__( 'Hide', 'cosmoswp' ),
			'color'        => esc_html__( 'Background Color', 'cosmoswp' ),
			'bg-image'     => esc_html__( 'Background Image', 'cosmoswp' ),
			'normal-image' => esc_html__( 'Normal Image', 'cosmoswp' ),
			'video'        => esc_html__( 'Video', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_header_image_display', $cosmoswp_header_image_display );
	}
endif;

if ( ! function_exists( 'cosmoswp_off_canvas_sidebar_direction' ) ) :

	/**
	 * Off canvas direction
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_off_canvas_sidebar_direction
	 */
	function cosmoswp_off_canvas_sidebar_direction() {
		$cosmoswp_off_canvas_sidebar_direction = array(
			'left'  => esc_html__( 'Left', 'cosmoswp' ),
			'right' => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_off_canvas_sidebar_direction', $cosmoswp_off_canvas_sidebar_direction );
	}
endif;

if ( ! function_exists( 'cosmoswp_flex_align' ) ) :

	/**
	 * Flex Align
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_align
	 */
	function cosmoswp_flex_align() {
		$cosmoswp_flex_align = array(
			'cwp-flex-align-left'   => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-flex-align-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-flex-align-right'  => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_flex_align', $cosmoswp_flex_align );
	}
endif;

if ( ! function_exists( 'cosmoswp_dd_search_form_align' ) ) :

	/**
	 * Dropdown Search Form Align
	 *
	 * @since cosmoswp 1.1.0
	 *
	 * @return array $cosmoswp_align
	 */
	function cosmoswp_dd_search_form_align() {
		$cosmoswp_dd_align = array(
			'cwp-search-align-left'   => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-search-align-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-search-align-right'  => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_dd_search_form_align', $cosmoswp_dd_align );
	}
endif;

if ( ! function_exists( 'cosmoswp_submenu_display_options' ) ) :

	/**
	 * SubMenu Display Option
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_align
	 */
	function cosmoswp_submenu_display_options() {
		$cosmoswp_submenu_display_options = array(
			'cwp-submenu-onclick' => esc_html__( 'Click', 'cosmoswp' ),
			'cwp-submenu-onhover' => esc_html__( 'Hover', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_submenu_display_options', $cosmoswp_submenu_display_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_text_align' ) ) :

	/**
	 * Text Align
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_align
	 */
	function cosmoswp_text_align() {
		$cosmoswp_text_align = array(
			'cwp-text-left'   => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-text-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-text-right'  => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_text_align', $cosmoswp_text_align );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_identity_text_align' ) ) :

	/**
	 * Text Align
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_align
	 */
	function cosmoswp_site_identity_text_align() {
		$cosmoswp_text_align = array(
			'cwp-default'     => esc_html__( 'Default', 'cosmoswp' ),
			'cwp-text-left'   => esc_html__( 'Left', 'cosmoswp' ),
			'cwp-text-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-text-right'  => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_identity_text_align', $cosmoswp_text_align );
	}
endif;

if ( ! function_exists( 'cosmoswp_banner_content_position' ) ) :

	/**
	 * Banner COntent position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_banner_content_position
	 */
	function cosmoswp_banner_content_position() {
		$cosmoswp_banner_content_position = array(
			'cwp-content-position-top'    => esc_html__( 'Top', 'cosmoswp' ),
			'cwp-content-position-center' => esc_html__( 'Center', 'cosmoswp' ),
			'cwp-content-position-bottom' => esc_html__( 'Bottom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_banner_content_position', $cosmoswp_banner_content_position );
	}
endif;

if ( ! function_exists( 'cosmoswp_single_banner_title_type' ) ) :

	/**
	 * Single Banner Title
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_single_banner_title_type
	 */
	function cosmoswp_single_banner_title_type() {
		$cosmoswp_single_banner_title_type = array(
			'disable'      => esc_html__( 'Disable', 'cosmoswp' ),
			'default'      => esc_html__( 'Default', 'cosmoswp' ),
			'custom-title' => esc_html__( 'Custom Title', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_single_banner_title_type', $cosmoswp_single_banner_title_type );
	}
endif;

if ( ! function_exists( 'cosmoswp_single_banner_title_tag' ) ) :

	/**
	 * Single Banner Title
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $
	 */
	function cosmoswp_single_banner_title_tag() {
		$cosmoswp_single_banner_title_tag = array(
			'h1' => esc_html__( 'H1', 'cosmoswp' ),
			'h2' => esc_html__( 'H2', 'cosmoswp' ),
			'h3' => esc_html__( 'H3', 'cosmoswp' ),
			'h4' => esc_html__( 'H4', 'cosmoswp' ),
			'h5' => esc_html__( 'H5', 'cosmoswp' ),
			'h6' => esc_html__( 'H6', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_single_banner_title_tag', $cosmoswp_single_banner_title_tag );
	}
endif;

if ( ! function_exists( 'cosmoswp_singular_post_page_banner_option' ) ) :

	/**
	 * Page/Post banner options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $
	 */
	function cosmoswp_singular_post_page_banner_option() {
		$cosmoswp_singular_post_page_banner_option = array(
			'hide'    => esc_html__( 'Hide', 'cosmoswp' ),
			'default' => esc_html__( 'Default', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_singular_post_page_banner_option', $cosmoswp_singular_post_page_banner_option );
	}
endif;

if ( ! function_exists( 'cosmoswp_sticky_footer_icon_position' ) ) :

	/**
	 * Sticky Footer  Icon Position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_sticky_footer_icon_position
	 */
	function cosmoswp_sticky_footer_icon_position() {
		$cosmoswp_sticky_footer_icon_position = array(
			'position-left'  => esc_html__( 'Left', 'cosmoswp' ),
			'position-right' => esc_html__( 'Right', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_sticky_footer_icon_position', $cosmoswp_sticky_footer_icon_position );
	}
endif;

if ( ! function_exists( 'cosmoswp_icon_position' ) ) :

	/**
	 * Icon Position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_icon_position
	 */
	function cosmoswp_icon_position() {
		$cosmoswp_icon_position = array(
			'before' => esc_html__( 'Before', 'cosmoswp' ),
			'after'  => esc_html__( 'After', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_icon_position', $cosmoswp_icon_position );
	}
endif;

if ( ! function_exists( 'cosmoswp_icon_four_position' ) ) :

	/**
	 * Icon Position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_icon_four_position
	 */
	function cosmoswp_icon_four_position() {
		$cosmoswp_icon_four_position = array(
			'before' => esc_html__( 'Before', 'cosmoswp' ),
			'after'  => esc_html__( 'After', 'cosmoswp' ),
			'top'    => esc_html__( 'Top', 'cosmoswp' ),
			'bottom' => esc_html__( 'Bottom', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_icon_four_position', $cosmoswp_icon_four_position );
	}
endif;

if ( ! function_exists( 'cosmoswp_responsive_menu_off_canvas_options' ) ) :

	/**
	 * Off canvas options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_responsive_menu_off_canvas_options
	 */
	function cosmoswp_responsive_menu_off_canvas_options() {
		$cosmoswp_responsive_menu_off_canvas_options = array(
			'overlap' => esc_html__( 'Overlap', 'cosmoswp' ),
			'push'    => esc_html__( 'Push', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_responsive_menu_off_canvas_options', $cosmoswp_responsive_menu_off_canvas_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_identity_logo_options' ) ) :

	/**
	 * Site Identity Template
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_site_identity_logo_options
	 */
	function cosmoswp_site_identity_logo_options() {
		$cosmoswp_site_identity_logo_options = array(
			'cwp-default' => esc_html__( 'Default', 'cosmoswp' ),
			'cwp-top'     => esc_html__( 'Top', 'cosmoswp' ),
			'cwp-right'   => esc_html__( 'Right', 'cosmoswp' ),
			'cwp-bottom'  => esc_html__( 'Bottom', 'cosmoswp' ),
			'cwp-left'    => esc_html__( 'Left', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_identity_logo_options', $cosmoswp_site_identity_logo_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_site_identity_sorting' ) ) :

	/**
	 * Site Identity Sorting
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_posttype_elements_sorting
	 */
	function cosmoswp_site_identity_sorting() {
		$cosmoswp_site_identity_sorting = array(
			'site-title'   => esc_html__( 'Site Title', 'cosmoswp' ),
			'site-tagline' => esc_html__( 'Site Tagline', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_site_identity_sorting', $cosmoswp_site_identity_sorting );
	}
endif;

if ( ! function_exists( 'cosmoswp_sticky_header_options' ) ) :

	/**
	 * Sticky header options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_sticky_header_options
	 */
	function cosmoswp_sticky_header_options() {
		$cosmoswp_sticky_header_options = array(
			'disable'     => esc_html__( 'Disable', 'cosmoswp' ),
			'normal'      => esc_html__( 'Normal', 'cosmoswp' ),
			'scroll-down' => esc_html__( 'Scroll Down', 'cosmoswp' ),
			'scroll-up'   => esc_html__( 'Scroll Up', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_sticky_header_options', $cosmoswp_sticky_header_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_sticky_header_animation_options' ) ) :

	/**
	 * Sticky header animation options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_sticky_header_animation_options
	 */
	function cosmoswp_sticky_header_animation_options() {
		$cosmoswp_sticky_header_animation_options = array(
			'none'                     => esc_html__( 'None', 'cosmoswp' ),
			'cwp-shrink-animation'     => esc_html__( 'Shrink', 'cosmoswp' ),
			'cwp-fade-animation'       => esc_html__( 'Fade', 'cosmoswp' ),
			'cwp-scrolldown-animation' => esc_html__( 'Scroll Down', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_sticky_header_animation_options', $cosmoswp_sticky_header_animation_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_feature_section_layout' ) ) :

	/**
	 * Blog layout options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_feature_section_layout
	 */
	function cosmoswp_feature_section_layout() {
		$cosmoswp_feature_section_layout = array(
			'default'    => esc_html__( 'Default', 'cosmoswp' ),
			'full-image' => esc_html__( 'Full Image', 'cosmoswp' ),
			'hide-image' => esc_html__( 'Hide Image', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_feature_section_layout', $cosmoswp_feature_section_layout );
	}
endif;

if ( ! function_exists( 'cosmoswp_sidebar_options' ) ) :

	/**
	 * Sidebar Options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_sidebar_options
	 */
	function cosmoswp_sidebar_options() {
		$cosmoswp_sidebar_options = array(
			'ful-ct'    => esc_html__( 'Full Width Content - No Sidebar', 'cosmoswp' ),
			'middle-ct' => esc_html__( 'Middle Column Content - No Sidebar', 'cosmoswp' ),
			'ps-ct'     => esc_html__( 'Left Primary Sidebar - Right Content', 'cosmoswp' ),
			'ct-ps'     => esc_html__( 'Left Content - Right Primary Sidebar', 'cosmoswp' ),
			'ss-ct-ps'  => esc_html__( 'Left Secondary Sidebar - Middle Content - Right Primary Sidebar', 'cosmoswp' ),
			'ss-ps-ct'  => esc_html__( 'Left Secondary Sidebar - Middle Primary Sidebar - Right Content', 'cosmoswp' ),
			'ct-ps-ss'  => esc_html__( 'Left Content - Middle Primary Sidebar - Right Secondary Sidebar', 'cosmoswp' ),
		);
		if ( cosmoswp_is_edit_page() ) {
			$meta_options             = array(
				'default' => esc_html__( 'Default From Customizer', 'cosmoswp' ),
			);
			$cosmoswp_sidebar_options = array_merge(
				$meta_options,
				$cosmoswp_sidebar_options
			);
		}
		return apply_filters( 'cosmoswp_sidebar_options', $cosmoswp_sidebar_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_posttype_elements_sorting' ) ) :

	/**
	 * Post Type Element Option
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_posttype_elements_sorting
	 */
	function cosmoswp_posttype_elements_sorting() {
		$cosmoswp_posttype_elements_sorting = array(
			'featured-section' => esc_html__( 'Featured Section', 'cosmoswp' ),
			'title'            => esc_html__( 'Title', 'cosmoswp' ),
			'excerpt'          => esc_html__( 'Excerpt', 'cosmoswp' ),
			'primary-meta'     => esc_html__( 'Primary Meta', 'cosmoswp' ),
			'content'          => esc_html__( 'Content', 'cosmoswp' ),
			'secondary-meta'   => esc_html__( 'Secondary Meta', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_posttype_elements_sorting', $cosmoswp_posttype_elements_sorting );
	}
endif;

if ( ! function_exists( 'cosmoswp_meta_elements_sorting' ) ) :

	/**
	 *  Meta-data one options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_meta_elements_sorting
	 */
	function cosmoswp_meta_elements_sorting( $posttype = 'all' ) {
		$cosmoswp_meta_elements_sorting = array(
			'published-date' => esc_html__( 'Published Date', 'cosmoswp' ),
			'updated-date'   => esc_html__( 'Updated Date', 'cosmoswp' ),
			'author'         => esc_html__( 'Author', 'cosmoswp' ),
			'categories'     => esc_html__( 'Categories', 'cosmoswp' ),
			'tags'           => esc_html__( 'Tags', 'cosmoswp' ),
			'comments'       => esc_html__( 'Comments', 'cosmoswp' ),
		);
		if ( 'page' === $posttype ) {
			unset( $cosmoswp_meta_elements_sorting['categories'] );
			unset( $cosmoswp_meta_elements_sorting['tags'] );
		}
		return apply_filters( 'cosmoswp_meta_elements_sorting', $cosmoswp_meta_elements_sorting );
	}
endif;

if ( ! function_exists( 'cosmoswp_single_navigation_options' ) ) :

	/**
	 * Single Navigation options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array $cosmoswp_single_navigation_options
	 */
	function cosmoswp_single_navigation_options() {
		$cosmoswp_single_navigation_options = array(
			'0'           => esc_html__( 'Disable', 'cosmoswp' ),
			'title-only'  => esc_html__( 'Default ( Title )', 'cosmoswp' ),
			'title-image' => esc_html__( 'Title and image', 'cosmoswp' ),
			'image-only'  => esc_html__( 'Image', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_single_navigation_options', $cosmoswp_single_navigation_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_get_image_sizes_options' ) ) :

	/**
	 * Image Size Option
	 *
	 * @since CosmosWP 1.0.0
	 * @param boolean $add_disable Add disable.
	 * @return array $cosmoswp_get_image_sizes_options
	 */
	function cosmoswp_get_image_sizes_options( $add_disable = false ) {
		global $_wp_additional_image_sizes;
		$choices = array();
		if ( $add_disable ) {
			$choices['disable'] = esc_html__( 'No Image', 'cosmoswp' );
		}
		foreach ( array( 'thumbnail', 'medium', 'large' ) as $key => $_size ) {
			$choices[ $_size ] = $_size . ' (' . get_option( $_size . '_size_w' ) . 'x' . get_option( $_size . '_size_h' ) . ')';
		}
		$choices['full'] = esc_html__( 'full (original)', 'cosmoswp' );
		if ( ! empty( $_wp_additional_image_sizes ) && is_array( $_wp_additional_image_sizes ) ) {

			foreach ( $_wp_additional_image_sizes as $key => $size ) {
				$choices[ $key ] = $key . ' (' . $size['width'] . 'x' . $size['height'] . ')';
			}
		}
		return apply_filters( 'cosmoswp_get_image_sizes_options', $choices );
	}
endif;

if ( ! function_exists( 'cosmoswp_breadcrumb_options' ) ) :

	/**
	 * Breadcrumb Options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array cosmoswp_breadcrumb_options
	 */
	function cosmoswp_breadcrumb_options() {
		$cosmoswp_breadcrumb_options = array(
			'disable' => esc_html__( 'Disable', 'cosmoswp' ),
		);
		if ( function_exists( 'yoast_breadcrumb' ) ) {
			$cosmoswp_breadcrumb_options['yoast'] = esc_html__( 'Yoast', 'cosmoswp' );
		}
		if ( function_exists( 'rank_math' ) && rank_math()->settings->get( 'general.breadcrumbs' ) ) {
			$cosmoswp_breadcrumb_options['rank-math'] = esc_html__( 'Rank Math', 'cosmoswp' );
		}
		if ( function_exists( 'bcn_display' ) ) {
			$cosmoswp_breadcrumb_options['bcn'] = esc_html__( 'Breadcrumb NavXT', 'cosmoswp' );
		}
		if ( class_exists( 'WooCommerce' ) ) {
			$cosmoswp_breadcrumb_options['woocommerce'] = esc_html__( 'WooCommerce', 'cosmoswp' );
		}
		return apply_filters( 'cosmoswp_breadcrumb_options', $cosmoswp_breadcrumb_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_pagination_options' ) ) :

	/**
	 * Pagination Options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array cosmoswp_pagination_options
	 */
	function cosmoswp_pagination_options() {
		$cosmoswp_pagination_options = array(
			'disable' => esc_html__( 'Disable', 'cosmoswp' ),
			'default' => esc_html__( 'Default', 'cosmoswp' ),
			'numeric' => esc_html__( 'Numeric', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_pagination_options', $cosmoswp_pagination_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_single_pagination_options' ) ) :

	/**
	 * Post Navigation Options
	 *
	 * @since CosmosWP 1.0.0
	 *
	 * @return array cosmoswp_single_pagination_options
	 */
	function cosmoswp_single_pagination_options() {
		$cosmoswp_single_pagination_options = array(
			'disable' => esc_html__( 'Disable', 'cosmoswp' ),
			'default' => esc_html__( 'Default', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_single_pagination_options', $cosmoswp_single_pagination_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_get_categories' ) ) :

	/**
	 * Get categories array
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_get_categories
	 */
	function cosmoswp_get_categories() {
		$cosmoswp_get_categories = array();

		$categories = get_categories(
			array(
				'orderby'    => 'name',
				'order'      => 'ASC',
				'hide_empty' => false,
			)
		);

		foreach ( $categories as $category ) {
			$cosmoswp_get_categories[ $category->term_id ] = $category->name;
		}
		return apply_filters( 'cosmoswp_get_categories', $cosmoswp_get_categories );
	}
endif;

if ( ! function_exists( 'cosmoswp_menu_display_positions' ) ) :

	/**
	 * Footer Menu Display Position
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $footer_menu_display_positions
	 */
	function cosmoswp_menu_display_positions() {
		$footer_menu_display_positions = array(
			'cwp-horizontal-menu' => esc_html__( 'Horizontal', 'cosmoswp' ),
			'cwp-vertical-menu'   => esc_html__( 'Vertical', 'cosmoswp' ),
		);

		return apply_filters( 'cosmoswp_menu_display_positions', $footer_menu_display_positions );
	}
endif;

if ( ! function_exists( 'cosmoswp_get_nav_menus' ) ) :

	/**
	 * Get Nav Menus Array
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $nav_menus
	 */
	function cosmoswp_get_nav_menus() {
		$cosmoswp_get_nav_menus = array();
		$nav_menus              = wp_get_nav_menus();
		foreach ( $nav_menus as $menu ) {
			$cosmoswp_get_nav_menus[ $menu->term_id ] = ucwords( $menu->name );
		}
		return apply_filters( 'cosmoswp_get_nav_menus', $cosmoswp_get_nav_menus );
	}
endif;

if ( ! function_exists( 'cosmoswp_background_image_size_options' ) ) :

	/**
	 * Background Image Size Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_background_image_size_options
	 */
	function cosmoswp_background_image_size_options() {

		$cosmoswp_background_image_size_options = array(
			'auto'    => esc_html__( 'Auto', 'cosmoswp' ),
			'cover'   => esc_html__( 'Cover', 'cosmoswp' ),
			'contain' => esc_html__( 'Contain', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_background_image_size_options', $cosmoswp_background_image_size_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_background_image_position_options' ) ) :

	/**
	 * Background Image Position Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_background_image_position_options
	 */
	function cosmoswp_background_image_position_options() {

		$cosmoswp_background_image_position_options = array(
			'center'        => esc_html__( 'Center', 'cosmoswp' ),
			'left_center'   => esc_html__( 'Left Center', 'cosmoswp' ),
			'right_center'  => esc_html__( 'Right Center', 'cosmoswp' ),
			'top_left'      => esc_html__( 'Top Left', 'cosmoswp' ),
			'top_right'     => esc_html__( 'Top Right', 'cosmoswp' ),
			'top_center'    => esc_html__( 'Top Center', 'cosmoswp' ),
			'bottom_left'   => esc_html__( 'Bottom Left', 'cosmoswp' ),
			'bottom_right'  => esc_html__( 'Bottom Right', 'cosmoswp' ),
			'bottom_center' => esc_html__( 'Bottom Center', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_background_image_position_options', $cosmoswp_background_image_position_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_background_image_repeat_options' ) ) :

	/**
	 * Background Image Repeat Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_background_image_repeat_options
	 */
	function cosmoswp_background_image_repeat_options() {

		$cosmoswp_background_image_repeat_options = array(
			'no-repeat' => esc_html__( 'No Repeat', 'cosmoswp' ),
			'repeat'    => esc_html__( 'Repeat', 'cosmoswp' ),
			'repeat-x'  => esc_html__( 'Repeat X', 'cosmoswp' ),
			'repeat-y'  => esc_html__( 'Repeat Y', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_background_image_repeat_options', $cosmoswp_background_image_repeat_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_background_image_attachment_options' ) ) :

	/**
	 * Background Image Attachment Options
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_background_image_attachment_options
	 */
	function cosmoswp_background_image_attachment_options() {

		$cosmoswp_background_image_attachment_options = array(
			'scroll' => esc_html__( 'Scroll', 'cosmoswp' ),
			'fixed'  => esc_html__( 'Fixed', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_background_image_attachment_options', $cosmoswp_background_image_attachment_options );
	}
endif;

if ( ! function_exists( 'cosmoswp_contact_link_type' ) ) :

	/**
	 * Contact Link Type
	 *
	 * @since cosmoswp 1.0.0
	 *
	 * @return array $cosmoswp_contact_link_type
	 */
	function cosmoswp_contact_link_type() {

		$cosmoswp_contact_link_type = array(
			'normal-link' => esc_html__( 'Normal Link', 'cosmoswp' ),
			'tel'         => esc_html__( 'Tel', 'cosmoswp' ),
			'email'       => esc_html__( 'Email', 'cosmoswp' ),
			'disable'     => esc_html__( 'Disable', 'cosmoswp' ),
		);
		return apply_filters( 'cosmoswp_contact_link_type', $cosmoswp_contact_link_type );
	}
endif;
