Docs: Miscellaneous corrections and improvements to docblocks.

See #57840


git-svn-id: https://develop.svn.wordpress.org/trunk@55870 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2023-05-30 17:43:27 +00:00
parent 5dcb2e928c
commit c9f3a68281
3 changed files with 21 additions and 11 deletions

View File

@@ -3087,7 +3087,15 @@ function wp_enqueue_stored_styles( $options = array() ) {
* @since 5.9.0
*
* @param string $block_name The block-name, including namespace.
* @param array $args An array of arguments [handle,src,deps,ver,media].
* @param array $args {
* An array of arguments. See wp_register_style() for full information about each argument.
*
* @type string $handle The handle for the stylesheet.
* @type string|false $src The source URL of the stylesheet.
* @type string[] $deps Array of registered stylesheet handles this stylesheet depends on.
* @type string|bool|null $ver Stylesheet version number.
* @type string $media The media for which this stylesheet has been defined.
* }
*/
function wp_enqueue_block_style( $block_name, $args ) {
$args = wp_parse_args(