Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath\Extension

FunctionExtension::getFunctionTranslatorspublicWC 1.0

{@inheritdoc}

Method of the class: FunctionExtension{}

No Hooks.

Returns

null. Nothing (null).

Usage

$FunctionExtension = new FunctionExtension();
$FunctionExtension->getFunctionTranslators(): array;

FunctionExtension::getFunctionTranslators() code WC 10.7.0

public function getFunctionTranslators(): array
{
    return [
        'nth-child' => [$this, 'translateNthChild'],
        'nth-last-child' => [$this, 'translateNthLastChild'],
        'nth-of-type' => [$this, 'translateNthOfType'],
        'nth-last-of-type' => [$this, 'translateNthLastOfType'],
        'contains' => [$this, 'translateContains'],
        'lang' => [$this, 'translateLang'],
    ];
}