Register a script for use.
Parameters
$handlestringrequired- Name of the script. Should be unique.
$pathstringrequired- Full URL of the script, or path of the script relative to the WordPress root directory.
$depsstring[]optional- An array of registered script handles this script depends on.
Default:
array('jquery') $versionstringoptional- String specifying script 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 $in_footerbooleanoptional- Whether to enqueue the script before </body> instead of in the <head>. Default
'false'.Default:
true