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