Registers the style and colors block attributes for block types that support it.
Parameters
$block_type
WP_Block_Typerequired- Block Type.
Source
function wp_register_duotone_support( $block_type ) {
_deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::register_duotone_support()' );
return WP_Duotone::register_duotone_support( $block_type );
}
Changelog
Version | Description |
---|---|
6.3.0 | Use WP_Duotone::register_duotone_support() instead. |
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.