wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_duotone_support › WordPress Function

Since5.8.0
Deprecated6.3.0
wp_register_duotone_support ( $block_type )
Access:
  • private
Parameters:
  • (WP_Block_Type) $block_type Block Type.
    Required: Yes
Defined at:
Codex:

Registers the style and colors block attributes for block types that support it.



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 );
}