W3cubDocs

/WordPress

_wp_multiple_block_styles( array $metadata ): array

Allows multiple block styles.

Parameters

$metadataarrayrequired
Metadata for registering a block type.

Return

array Metadata for registering a block type.

Source

function _wp_multiple_block_styles( $metadata ) {
	_deprecated_function( __FUNCTION__, '6.1.0' );
	return $metadata;
}

Changelog

Version Description
6.1.0 This function has been deprecated.
5.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_wp_multiple_block_styles