wp-includes/class-wp-duotone.php:625Get the CSS variable for a duotone preset.
$slugstringstring private static function get_css_var( $slug ) { $name = self::get_css_custom_property_name( $slug ); return "var($name)"; }Introduced in 6.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-duotone.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.