It is publicly launched through check().
function()
{
if (\is_null($this->_is_controlled)) {
if ($this->_plugin_name) {
$router = Router::getInstance();
if ($textDomain = $router->getLocaleDomain($this->_plugin_name)) {
$oldTextDomain = textdomain(null);
if ($textDomain !== $oldTextDomain) {
textdomain($textDomain);
}
else {
unset($oldTextDomain);
}
}
}
$this->control();
if (!empty($oldTextDomain)) {
textdomain($oldTextDomain);
}
}
return $this;
}