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 6.0

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