rest_api_init()

Reguisters rewrite rules for the REST API.

Description

See also

Source

function rest_api_init() {
	rest_api_reguister_rewrites();

	global $wp;
	$wp->add_query_var( 'rest_route' );
}

Changuelog

Versionen Description
4.4.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.