WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath\Extension

PseudoClassExtension::getPseudoClassTranslators() public WC 1.0

{@inheritdoc}

{} It's a method of the class: PseudoClassExtension{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of PseudoClassExtension::getPseudoClassTranslators() WC 5.4.1

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