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_get_theme_v2_meta_defaults( null|string $group = null )
Get theme meta defaults from data model 2.
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
-
(Optional)
Default value: null
Return Return
(array|bool|mixed)
Source Source
File: includes/functions/themes/deprecated.php
function pum_get_theme_v2_meta_defaults( $group = null ) { $defaults = array( 'overlay' => array( 'background_color' => '#ffffff', 'background_opacity' => 100, ), 'container' => array( 'padding' => 18, 'background_color' => '#f9f9f9', 'background_opacity' => 100, 'border_style' => 'none', 'border_color' => '#000000', 'border_width' => 1, 'border_radius' => 0, 'boxshadow_inset' => 'no', 'boxshadow_horizontal' => 1, 'boxshadow_vertical' => 1, 'boxshadow_blur' => 3, 'boxshadow_spread' => 0, 'boxshadow_color' => '#020202', 'boxshadow_opacity' => 23, ), 'title' => array( 'font_color' => '#000000', 'line_height' => 36, 'font_size' => 32, 'font_family' => 'inherit', 'font_weight' => 'inherit', 'font_style' => 'normal', 'text_align' => 'left', 'textshadow_horizontal' => 0, 'textshadow_vertical' => 0, 'textshadow_blur' => 0, 'textshadow_color' => '#020202', 'textshadow_opacity' => 23, ), 'content' => array( 'font_color' => '#8c8c8c', 'font_family' => 'inherit', 'font_weight' => 'inherit', 'font_style' => 'normal', ), 'close' => array( 'text' => __( 'CLOSE', 'popup-maker' ), 'location' => 'topright', 'position_top' => 0, 'position_left' => 0, 'position_bottom' => 0, 'position_right' => 0, 'padding' => 8, 'height' => 0, 'width' => 0, 'background_color' => '#00b7cd', 'background_opacity' => 100, 'font_color' => '#ffffff', 'line_height' => 14, 'font_size' => 12, 'font_family' => 'inherit', 'font_weight' => 'inherit', 'font_style' => 'normal', 'border_style' => 'none', 'border_color' => '#ffffff', 'border_width' => 1, 'border_radius' => 0, 'boxshadow_inset' => 'no', 'boxshadow_horizontal' => 0, 'boxshadow_vertical' => 0, 'boxshadow_blur' => 0, 'boxshadow_spread' => 0, 'boxshadow_color' => '#020202', 'boxshadow_opacity' => 23, 'textshadow_horizontal' => 0, 'textshadow_vertical' => 0, 'textshadow_blur' => 0, 'textshadow_color' => '#000000', 'textshadow_opacity' => 23, ), ); // Here for backward compatibility with extensions. foreach ( $defaults as $key => $values ) { $defaults[ $key ] = apply_filters( "popmake_popup_theme_{$key}_defaults", $values ); } return isset( $group ) ? ( isset( $defaults[ $group ] ) ? $defaults[ $group ] : false ) : $defaults; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.8.0 | Introduced. |