Gets the SVG for the duotone filter definition from a preset.
Description
Exported for the deprecated function wp_get_duotone_filter_property() .
Parameters
$preset
arrayrequired- The duotone preset.
Source
public static function get_filter_svg_from_preset( $preset ) {
_deprecated_function( __FUNCTION__, '6.3.0' );
$filter_id = self::get_filter_id_from_preset( $preset );
return self::get_filter_svg( $filter_id, $preset['colors'] );
}
Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.