wp_style_is


wp_style_is ( $handle, $list = 'enqueued' )

Parameters:
  • (string) $handle Name of the stylesheet.
  • (string) $list Optional. Status of the stylesheet to check. Default 'enqueued'. Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'.
Returns:
  • (bool) Whether style is queued.
Defined at:

Description

Check whether a CSS stylesheet has been added to the queue.

Related Functions

wp_styles, wp_site_icon, wp_title_rss, wp_script_is, wp_print_styles

Top Google Results

User discussions

wpseek mobile