Yoast\WP\SEO

Loader::register_route │ public │ Yoast 1.0

Registers a route.

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

Хуков нет.

Возвращает

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

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

$Loader = new Loader();
$Loader->register_route( $route_class );
$route_class(строка) (обязательный)
The class name of the route to be loaded.

Код Loader::register_route() Yoast 28.8

public function register_route( $route_class ) {
	$this->routes[] = $route_class;
}