WordPress Version: 3.9
/**
* Prints the styles that were queued too late for the HTML head.
*
* @since 3.3.0
*/
function print_late_styles()
{
global $wp_styles, $concatenate_scripts;
if (!is_a($wp_styles, 'WP_Styles')) {
return;
}
$wp_styles->do_concat = $concatenate_scripts;
$wp_styles->do_footer_items();
/**
* Filter whether to print the styles queued too late for the HTML head.
*
* @since 3.3.0
*
* @param bool $print Whether to print the 'late' styles. Default true.
*/
if (apply_filters('print_late_styles', true)) {
_print_styles();
}
$wp_styles->reset();
return $wp_styles->done;
}