Automattic\WooCommerce\Vendor\Sabberworm\CSS\Property
Selector::isValid
Method of the class: Selector{}
No Hooks.
Returns
true|false.
Usage
$result = Selector::isValid( $sSelector );
- $sSelector(string) (required)
- .
Selector::isValid() Selector::isValid code WC 10.8.1
public static function isValid($sSelector)
{
return preg_match(static::SELECTOR_VALIDATION_RX, $sSelector);
}