Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath\Extension
FunctionExtension::getFunctionTranslators
{@inheritdoc}
Method of the class: FunctionExtension{}
No Hooks.
Returns
null. Nothing (null).
Usage
$FunctionExtension = new FunctionExtension(); $FunctionExtension->getFunctionTranslators(): array;
FunctionExtension::getFunctionTranslators() 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'],
];
}