Renders out the duotone stylesheet and SVG.
Parameters
$block_content
stringrequired- Rendered block content.
$block
arrayrequired- Block object.
Source
function wp_render_duotone_support( $block_content, $block ) {
_deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::render_duotone_support()' );
$wp_block = new WP_Block( $block );
return WP_Duotone::render_duotone_support( $block_content, $block, $wp_block );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.