WordPress at a glance
function is not described

wp_oembed_register_route() WP 4.4.0

Registers the oEmbed REST API route.

No Hooks.

Return

null. Nothing.

Usage

wp_oembed_register_route();

Changelog

Since 4.4.0 Introduced.

Code of wp_oembed_register_route() WP 5.7.2

<?php
function wp_oembed_register_route() {
	$controller = new WP_oEmbed_Controller();
	$controller->register_routes();
}