WPDev.one
Core Function
View Source on Trac ↗

wp_register_duotone_support()

wp_register_duotone_support( mixed $block_type )

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

Parameters 1 required

Name / Type Description
$block_type
WP_Block_Type

Block Type.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
5.8.0
Source File
wp-includes/deprecated.php
Advertisement