wp_enqueue_style Wordpress function


Enqueue a CSS style file.



(string) $handle Name of the stylesheet.
(string|bool) $src Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'.
(array) $deps Array of handles (names) of any stylesheet that this stylesheet depends on. (Stylesheets that must be loaded before this stylesheet.) Pass an empty array if there are no dependencies.
(string|bool) $ver String specifying the stylesheet version number, if it has one. This parameter is used to ensure that the correct version is sent to the client regardless of caching, and so should be included if a version number is available and makes sense for the stylesheet.
(string) $media The media for which this stylesheet has been defined.

Return Type:

Define At:


Wordpress Reference URL:


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×