WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Routes

Supported_Features_Route::register_routes() public Yoast 1.0

Registers routes with WordPress.

{} Это метод класса: Supported_Features_Route{}

Хуков нет.

Возвращает

null. Ничего.

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

$Supported_Features_Route = new Supported_Features_Route();
$Supported_Features_Route->register_routes();

Код Supported_Features_Route::register_routes() Yoast 17.2

public function register_routes() {
	$supported_features_route = [
		'methods'             => 'GET',
		'callback'            => [ $this, 'get_supported_features' ],
		'permission_callback' => '__return_true',
	];

	\register_rest_route( Main::API_V1_NAMESPACE, self::SUPPORTED_FEATURES_ROUTE, $supported_features_route );
}