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_AssetCache::generate_popup_theme_styles()
Generate Popup Theme Styles
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
Return Return
(mixed|string)
Source Source
File: classes/AssetCache.php
public static function generate_popup_theme_styles() { $styles = ''; $themes = pum_get_all_themes(); foreach ( $themes as $theme ) { $theme_styles = pum_get_rendered_theme_styles( $theme->ID ); if ( $theme_styles != '' ) { $styles .= "/* Popup Theme " . $theme->ID . ": " . $theme->post_title . " */\r\n"; $styles .= $theme_styles . "\r\n"; } } $styles = apply_filters( 'popmake_theme_styles', $styles ); $styles = apply_filters( 'pum_generate_popup_theme_styles', $styles ); return $styles; }
Expand full source code Collapse full source code View on Trac