Transforms a slug into a CSS Custom Property.
Parameters
$input
stringrequired- String to replace.
$slug
stringrequired- The slug value to use to generate the custom property.
Source
*
* @param string $scope Selector to scope to.
* @param string $selector Original selector.
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.