Codex

Function Reference/wp style is

Contents

Description

Determine if a style has been registered, queued, printed, or is waiting to be printed.

Usage

<?php wp_style_is$handle$list 'queue' ); ?>

Parameters

$handle
(string) (required) Name of the style. Lowercase string.
Default: None
$list
(string) (optional) The list to query. One of 'registered' (style was registered through wp_register_style()), 'queue' (style was enqueued), 'done' (style has been printed), or 'to_do' (style has not yet been printed)
Default: queue

Return Values

(bool) 
True or false.

Change Log

Since: Unknown

Source File

wp_style_is() is located in wp-includes/functions.wp-styles.php.

Related

wp_register_style(), wp_enqueue_style(), wp_deregister_script(), wp_register_script()

See also index of Function Reference and index of Template Tags.
This article is marked as in need of editing. You can help Codex by editing it.