wp_register_style Wordpress function


Description:

Register CSS style file.


Syntax:


Arguments:

(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 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. Set to null to disable. Used to ensure that the correct version is sent to the client regardless of caching.
(string) $media The media for which this stylesheet has been defined.


Return Type:


Define At:

wp-includes/functions.wp-styles.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_register_style


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