Similar to get_settings_values_by_slug, but doesn’t compute the value.
Parameters
$settings
arrayrequired- Settings to process.
$preset_metadata
arrayrequired- One of the PRESETS_METADATA values.
$origins
string[]optional- List of origins to process.
Default:
null
Source
// $selector is often empty, so we can save ourselves the `append_to_selector()` call then.
$new_selector = '' === $selector ? $class_name : static::append_to_selector( $selector, $class_name );
$stylesheet .= static::to_ruleset(
$new_selector,
array(
array(
'name' => $property,
'value' => 'var(' . $css_var . ') !important',
),
)
);
}
}
}
return $stylesheet;
}
/**
* Function that scopes a selector with another one. This works a bit like
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.