wp_render_duotone_filter_preset() – Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.

You appear to be a bot. Output may be restricted

Description

Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.

Usage

$string = wp_render_duotone_filter_preset( $preset );

Parameters

$preset
( array ) required – Duotone preset value as seen in theme.json.

Returns

string Duotone CSS filter property.

Source

File name: wordpress/wp-includes/deprecated.php


Lines:

1 to 6 of 6
function wp_render_duotone_filter_preset( $preset ) {
  _deprecated_function( __FUNCTION__, '5.9.1', 'wp_get_duotone_filter_property()' );

  return wp_get_duotone_filter_property( $preset );
}
 

 View on GitHub View on Trac