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

Nothing (null).

Usage

wp_oembed_register_route();

Code of wp oembed register route: wp-includes/embed.php VER 5.0.3

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