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
in_array( $layout_definition['displayMode'], $valid_display_modes, true )
) {
$layout_selector = sprintf(
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.