Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\XPath\Extension
FunctionExtension::getFunctionTranslators
{@inheritdoc}
Метод класса: FunctionExtension{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$FunctionExtension = new FunctionExtension(); $FunctionExtension->getFunctionTranslators(): array;
Код FunctionExtension::getFunctionTranslators() FunctionExtension::getFunctionTranslators WC 11.2.2
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'],
];
}