wp_style_is


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

Parameters:
  • (string) handle Name of the stylesheet.
  • (string) status 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

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

Related Functions

wp_styles, wp_title_rss, wp_script_is, wp_site_icon, wp_print_styles

Top Google Results

User discussions

wpseek mobile