Whether the metadata contains a key named properties.
Parameters
$metadata
arrayrequired- Description of the style property.
Source
*/
protected static function append_to_selector( $selector, $to_append ) {
if ( ! str_contains( $selector, ',' ) ) {
return $selector . $to_append;
}
$new_selectors = array();
$selectors = explode( ',', $selector );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.