WooCommerce Code Reference

KeyframeSelector extends Selector
in package

Class representing a single CSS selector. Selectors have to be split by the comma prior to being passed into this class.

Table of Contents

$iSpecificity  : int|null
$sSelector  : string
__construct()  : mixed
__toString()  : string
getSelector()  : string
getSpecificity()  : int
setSelector()  : void

Properties

Methods

__construct()

public __construct(string $sSelector[, bool $bCalculateSpecificity = false ]) : mixed
Parameters
$sSelector : string
$bCalculateSpecificity : bool = false

@deprecated since V8.8.0, will be removed in V9.0.0

Return values
mixed