Automattic\WooCommerce\Vendor\Sabberworm\CSS

Settings::withLenientParsingpublicWC 1.0

Configures whether the parser should silently ignore invalid rules.

Метод класса: Settings{}

Хуков нет.

Возвращает

self. fluent interface

Использование

$Settings = new Settings();
$Settings->withLenientParsing( $bLenientParsing );
$bLenientParsing(true|false)
.
По умолчанию: true

Код Settings::withLenientParsing() WC 10.4.3

public function withLenientParsing($bLenientParsing = true)
{
    $this->bLenientParsing = $bLenientParsing;
    return $this;
}