wp_print_styles

SummerySummery

Display styles that are in the $handles queue.

Syntax

wp_print_styles( string|bool|array $handles = false )

DescriptionDescription

Passing an empty array to $handles prints the queue, passing an array with one string prints that style, and passing an array of strings prints those styles.

ParametersParameters

$handles

(string|bool|array) (Optional) Styles to be printed. Default 'false'.

Default value: false

ReturnReturn

(string[]) On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array.

SourceSource

File: wp-includes/functions.wp-styles.php


			

ChangelogChangelog

Changelog
Version Description
2.6.0 Introduced.
Scroll to Top