rest_api_init()
Registers rewrite rules for the API.
Description Description
See also See also
Source Source
File: wp-includes/rest-api.php
function rest_api_init() { rest_api_register_rewrites(); global $wp; $wp->add_query_var( 'rest_route' ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |