wp_register_script Wordpress function


Description:

Register new Javascript file.


Syntax:


Arguments:

(string) $handle Script name
(string) $src Script url
(array) $deps (optional) Array of script names on which this script depends
(string|bool) $ver (optional) Script version (used for cache busting), set to null to disable
(bool) $in_footer (optional) Whether to enqueue the script before </head> or before </body>


Return Type:

(null)


Define At:

wp-includes/functions.wp-scripts.php


Wordpress Reference URL:

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


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