WP_REST_Controller::register_routes()

In this article

Registers the routes for the objects of the controller.

Description

See also

Source

public function register_routes() {
	_doing_it_wrong(
		'WP_REST_Controller::register_routes',
		/* translators: %s: register_routes() */
		sprintf( __( "Method '%s' must be overridden." ), __METHOD__ ),
		'4.7.0'
	);
}

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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