Automattic\WooCommerce\Vendor\Sabberworm\CSS

Settings::withMultibyteSupportpublicWC 1.0

Enables/disables multi-byte string support.

If true (mbstring extension must be enabled), will use (slower) mb_strlen, mb_convert_case, mb_substr and mb_strpos functions. Otherwise, the normal (ASCII-Only) functions will be used.

Method of the class: Settings{}

No Hooks.

Returns

self. fluent interface

Usage

$Settings = new Settings();
$Settings->withMultibyteSupport( $bMultibyteSupport );
$bMultibyteSupport(true|false)
.
Default: true

Settings::withMultibyteSupport() code WC 10.5.0

public function withMultibyteSupport($bMultibyteSupport = true)
{
    $this->bMultibyteSupport = $bMultibyteSupport;
    return $this;
}