add_action('wp_head', function($arguments) use ($dynamicStyleCss) {
$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
echo '<style '.$type_attr.' id="wp-dynamic-custom-css">
'. strip_tags( $dynamicStyleCss ).'
</style> '
}, '10');
- 0 like
- 0 comment