function raindrops_child_customizer_relate($content) { if (is_child_theme()) { return raindrops_child_embed_css(); } else { return $content; } }
/** * * @1.254 */ function raindrops_color_type_style_buffer() { global $raindrops_fallback_human_interface_show, $post, $raindrops_current_column; if (intval(get_query_var('raindrops_color_type')) == 1) { if ($raindrops_fallback_human_interface_show == true) { exit; } do_action('raindrops_external_css_pre'); $style = apply_filters('raindrops_color_type_style_buffer', raindrops_embed_css()); if (is_child_theme() && function_exists('raindrops_child_embed_css')) { $style = apply_filters('raindrops_color_type_style_buffer', raindrops_child_embed_css()); /* 1.304 todo structure change for external css */ } if (!defined('WP_DEBUG') || WP_DEBUG == false) { //$style = preg_replace('!('. wp_spaces_regexp() .'){2,}!', ' ', $style ); } ob_start(); $css = $style; $css = wp_kses($css, array()); $css = wp_strip_all_tags($css); echo $css; exit; ob_clean(); } }