} $supports_theme_json =
wp_theme_has_theme_json();
$origins = array
( 'default', 'theme', 'custom'
);
if ( !
$supports_theme_json ) { $origins = array
( 'default'
);
} $tree = WP_Theme_JSON_Resolver::
get_merged_data();
$svgs =
$tree->
get_svg_filters( $origins );
if ( $can_use_cached ) { wp_cache_set( $cache_key,
$svgs,
$cache_group );
} return $svgs;
}/**
* Renders the SVG filters supplied by theme.json.
*
* Note that this doesn't render the per-block user-defined
* filters which are handled by wp_render_duotone_support,
* but it should be rendered before the filtered content
* in the body to satisfy Safari's rendering quirks.
*
* @since 5.9.1
* @deprecated 6.3.0 SVG generation is handled on a per-block basis in block supports.
*/