- * @param string $handle Name of the stylesheet.
- * @param string|bool $src Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'.
- * @param 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.
- * @param 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.
- * @param string $media The media for which this stylesheet has been defined.
+ * @since 2.6.0
+ * @since 4.3.0 A return value was added.
+ *
+ * @param string $handle Name of the stylesheet.
+ * @param string|bool $src Path to the stylesheet from the WordPress root directory. Example: '/css/mystyle.css'.
+ * @param array $deps An array of registered style handles this stylesheet depends on. Default empty array.
+ * @param string|bool $ver String specifying the stylesheet version number. Used to ensure that the correct version
+ * is sent to the client regardless of caching. Default 'false'. Accepts 'false', 'null', or 'string'.
+ * @param string $media Optional. The media for which this stylesheet has been defined.
+ * Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print',
+ * 'screen', 'tty', or 'tv'.
+ * @return bool Whether the style has been registered. True on success, false on failure.