_wp_multiple_block_styles( array $metadata ): array

In this article

This function has been deprecated.

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

VersionDescription
6.1.0This function has been deprecated.
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.