Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813

Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Model_Theme::remapped_meta_settings_keys( $group )


Description Description


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813

Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Parameters Parameters

$group

(Required)


Top ↑

Return Return

(array|mixed)


Top ↑

Source Source

File: classes/Model/Theme.php

	public function remapped_meta_settings_keys( $group ) {
		$remapped_meta_settings_keys = array(
			'overlay'   => array(
				'background_color'   => 'overlay_background_color',
				'background_opacity' => 'overlay_background_opacity',
			),
			'container' => array(
				'padding'              => 'container_padding',
				'background_color'     => 'container_background_color',
				'background_opacity'   => 'container_background_opacity',
				'border_style'         => 'container_border_style',
				'border_color'         => 'container_border_color',
				'border_width'         => 'container_border_width',
				'border_radius'        => 'container_border_radius',
				'boxshadow_inset'      => 'container_boxshadow_inset',
				'boxshadow_horizontal' => 'container_boxshadow_horizontal',
				'boxshadow_vertical'   => 'container_boxshadow_vertical',
				'boxshadow_blur'       => 'container_boxshadow_blur',
				'boxshadow_spread'     => 'container_boxshadow_spread',
				'boxshadow_color'      => 'container_boxshadow_color',
				'boxshadow_opacity'    => 'container_boxshadow_opacity',
			),
			'title'     => array(
				'font_color'            => 'title_font_color',
				'line_height'           => 'title_line_height',
				'font_size'             => 'title_font_size',
				'font_family'           => 'title_font_family',
				'font_weight'           => 'title_font_weight',
				'font_style'            => 'title_font_style',
				'text_align'            => 'title_text_align',
				'textshadow_horizontal' => 'title_textshadow_horizontal',
				'textshadow_vertical'   => 'title_textshadow_vertical',
				'textshadow_blur'       => 'title_textshadow_blur',
				'textshadow_color'      => 'title_textshadow_color',
				'textshadow_opacity'    => 'title_textshadow_opacity',
			),
			'content'   => array(
				'font_color'  => 'content_font_color',
				'font_family' => 'content_font_family',
				'font_weight' => 'content_font_weight',
				'font_style'  => 'content_font_style',
			),
			'close'     => array(
				'text'                  => 'close_text',
				'location'              => 'close_location',
				'position_top'          => 'close_position_top',
				'position_left'         => 'close_position_left',
				'position_bottom'       => 'close_position_bottom',
				'position_right'        => 'close_position_right',
				'padding'               => 'close_padding',
				'height'                => 'close_height',
				'width'                 => 'close_width',
				'background_color'      => 'close_background_color',
				'background_opacity'    => 'close_background_opacity',
				'font_color'            => 'close_font_color',
				'line_height'           => 'close_line_height',
				'font_size'             => 'close_font_size',
				'font_family'           => 'close_font_family',
				'font_weight'           => 'close_font_weight',
				'font_style'            => 'close_font_style',
				'border_style'          => 'close_border_style',
				'border_color'          => 'close_border_color',
				'border_width'          => 'close_border_width',
				'border_radius'         => 'close_border_radius',
				'boxshadow_inset'       => 'close_boxshadow_inset',
				'boxshadow_horizontal'  => 'close_boxshadow_horizontal',
				'boxshadow_vertical'    => 'close_boxshadow_vertical',
				'boxshadow_blur'        => 'close_boxshadow_blur',
				'boxshadow_spread'      => 'close_boxshadow_spread',
				'boxshadow_color'       => 'close_boxshadow_color',
				'boxshadow_opacity'     => 'close_boxshadow_opacity',
				'textshadow_horizontal' => 'close_textshadow_horizontal',
				'textshadow_vertical'   => 'close_textshadow_vertical',
				'textshadow_blur'       => 'close_textshadow_blur',
				'textshadow_color'      => 'close_textshadow_color',
				'textshadow_opacity'    => 'close_textshadow_opacity',
			),
		);

		return isset( $remapped_meta_settings_keys[ $group ] ) ? $remapped_meta_settings_keys[ $group ] : array();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.