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: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Checks whether a CSS stylesheet has been added to the queue.