Editor: Document the arguments for registering a block style.

See #55646

Built from https://develop.svn.wordpress.org/trunk@53892


git-svn-id: http://core.svn.wordpress.org/trunk@53451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2022-08-13 22:38:09 +00:00
parent 11a3a91511
commit e8a05d5082
3 changed files with 22 additions and 4 deletions

View File

@@ -991,6 +991,8 @@ function block_version( $content ) {
*
* @since 5.3.0
*
* @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-styles/
*
* @param string $block_name Block type name including namespace.
* @param array $style_properties Array containing the properties of the style name,
* label, style (name of the stylesheet to be enqueued),