Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_enqueue_style()

3 tags 1 category

wp_enqueue_style() — Enqueues a CSS stylesheet. Registers the style if source provided (does NOT overwrite) and enqueues.

Inputs: $handle (string): Name of the stylesheet. Should be unique. $src (string): Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory. Default empty. $deps (string[]): Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array. $ver (string|bool|null): Optional. String specifying stylesheet version number, if it has one, which is added to the URL as a query string for cache busting purposes. If version is set to false, a version number is automatically added equal to current installed WordPress version. If set to null, no version is added. $media (string): Optional. The media for which this stylesheet has been defined. Default ‘all’. Accepts media types like ‘all’, ‘print’ and ‘screen’, or media queries like ‘(orientation: portrait)’ and ‘(max-width: 640px)’.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…