wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_register_duotone_support › WordPress Function

Since5.8.0
已弃用6.3.0
wp_register_duotone_support ( $block_type )
访问:
  • private
参数:
  • (WP_Block_Type) $block_type Block Type.
    Required: Yes
定义在:
文档:

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



源码

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