queue_css_url

Head-related functions

Summary

queue_css_url($url, string $media = all, string|bool $conditional =)

Declare a URL to a stylesheet to be used on the page and included in the page’s head.

This needs to be called either before head() or in a plugin_header hook.

Parameters:
  • $url (unknown) –
  • $media (string) – CSS media declaration, defaults to ‘all’.
  • $conditional (string|bool) – IE-style conditional comment, used generally to include IE-specific styles. Defaults to false.

Usage

Examples

See Also