wp-includes/functions.wp-styles.php:44Displays styles that are in the $handles queue.
$handlesstring|bool|arrayoptionalfalsestring[]One hook fires while wp_print_styles() runs, in this order:
Fires before styles in the $handles queue are printed.
function wp_print_styles( $handles = false ) { global $wp_styles; if ( '' === $handles ) { // For 'wp_head'. $handles = false; } if ( ! $handles ) { /** * Fires before styles in the $handles queue are printed. * * @since 2.6.0 */ do_action( 'wp_print_styles' ); } _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); if ( ! ( $wp_styles instanceof WP_Styles ) ) { if ( ! $handles ) { return array(); // No need to instantiate if nothing is there. } } return wp_styles()->do_items( $handles );}Introduced in 2.6.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$handles retyped from string|bool|array to string|false|string[].verified against sourcesrc/wp-includes/functions.wp-styles.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.