mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 08:10:04 +00:00
Docs: Document that the $src parameter of WP_Dependencies::add() can be boolean.
Props dimadin. Fixes #45009. git-svn-id: https://develop.svn.wordpress.org/trunk@43661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -110,7 +110,8 @@ function wp_add_inline_style( $handle, $data ) {
|
||||
* @since 4.3.0 A return value was added.
|
||||
*
|
||||
* @param string $handle Name of the stylesheet. Should be unique.
|
||||
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
||||
* @param string|bool $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
||||
* If source is set to false, stylesheet is an alias of other stylesheets it depends on.
|
||||
* @param array $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
|
||||
* @param string|bool|null $ver Optional. String specifying stylesheet 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
|
||||
|
||||
Reference in New Issue
Block a user