Docs

EVF_Frontend_Scripts::register_style( string $handle, string $path, string[] $deps = array(), string $version = EVF_VERSION, string $media = 'all', boolean $has_rtl = false )

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Register a style for use.

Parameters

$handlestringrequired
Name of the stylesheet. Should be unique.
$pathstringrequired
Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
$depsstring[]optional
An array of registered stylesheet handles this stylesheet depends on.

Default:array()

$versionstringoptional
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.

Default:EVF_VERSION

$mediastringoptional
The media for which this stylesheet has been defined. Accepts media types like 'all', 'print' and 'screen', or media queries like ‘(orientation: portrait)’ and ‘(max-width: 640px)’.

Default:'all'

$has_rtlbooleanoptional
If has RTL version to load too.

Default:false