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
popmake_popup_display_defaults( array $defaults = array() )
Returns default display settings for popups.
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
- $defaults
-
(Optional)
Default value: array()
Return Return
(array)
Source Source
File: includes/defaults.php
function popmake_popup_display_defaults( $defaults = array() ) { return array_merge( $defaults, array( 'stackable' => false, 'overlay_disabled' => false, 'scrollable_content' => false, 'disable_reposition' => false, 'size' => 'medium', 'responsive_min_width' => '', 'responsive_min_width_unit' => 'px', 'responsive_max_width' => '', 'responsive_max_width_unit' => 'px', 'custom_width' => 640, 'custom_width_unit' => 'px', 'custom_height' => 380, 'custom_height_unit' => 'px', 'custom_height_auto' => false, 'location' => 'center top', 'position_from_trigger' => false, 'position_top' => 100, 'position_left' => 0, 'position_bottom' => 0, 'position_right' => 0, 'position_fixed' => false, 'animation_type' => 'fade', 'animation_speed' => 350, 'animation_origin' => 'center top', 'overlay_zindex' => 1999999998, 'zindex' => 1999999999, ) ); }
Expand full source code Collapse full source code View on Trac