(string|bool|null)$ver Optional. 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.

(bool)$in_footer Optional. Whether to enqueue the script before </body> instead of in the <head>. Default 'false'.

See:

WP_Dependencies::add()

WP_Dependencies::add_data()

Returns:

(bool) Whether the script has been registered. True on success, false on failure.