_wp_multiple_block_styles()
Deprecated from version 6.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Allows multiple block styles.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
Array
. Metadata for registering a block type.
Usage
_wp_multiple_block_styles( $metadata );
- $metadata(array) (required)
- Metadata for registering a block type.
Changelog
Since 5.9.0 | Introduced. |
Deprecated since | 6.1.0 |
_wp_multiple_block_styles() wp multiple block styles code WP 6.6.2
function _wp_multiple_block_styles( $metadata ) { _deprecated_function( __FUNCTION__, '6.1.0' ); return $metadata; }