- * @param string $handle Script name
- * @param string $src Script url
- * @param array $deps (optional) Array of script names on which this script depends
- * @param string $ver (optional) Script version (used for cache busting)
- * @return array Hierarchical array of dependencies
+ * @access public
+ * @since 2.1.0
+ * @since 2.6.0 Moved from `WP_Scripts`.
+ *
+ * @param string $handle Name of the item. Should be unique.
+ * @param string $src Full URL of the item, or path of the item relative to the WordPress root directory.
+ * @param array $deps Optional. An array of registered item handles this item depends on. Default empty array.
+ * @param string|bool|null $ver Optional. String specifying item 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.
+ * @param mixed $args Optional. Custom property of the item. NOT the class property $args. Examples: $media, $in_footer.
+ * @return bool Whether the item has been registered. True on success, false on failure.