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

PseudoClassExtension::getPseudoClassTranslators │ public │ WC 1.0

{@inheritdoc}

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$PseudoClassExtension = new PseudoClassExtension();
$PseudoClassExtension->getPseudoClassTranslators(): array;

Код PseudoClassExtension::getPseudoClassTranslators() WC 11.2.2

public function getPseudoClassTranslators(): array
{
    return [
        'root' => [$this, 'translateRoot'],
        'first-child' => [$this, 'translateFirstChild'],
        'last-child' => [$this, 'translateLastChild'],
        'first-of-type' => [$this, 'translateFirstOfType'],
        'last-of-type' => [$this, 'translateLastOfType'],
        'only-child' => [$this, 'translateOnlyChild'],
        'only-of-type' => [$this, 'translateOnlyOfType'],
        'empty' => [$this, 'translateEmpty'],
    ];
}