Summery Summery
Fires when preparing to serve an API request.
Syntax Syntax
Description Description
Endpoint objects should be created and register their hooks on this action rather than another action to ensure they’re only loaded when needed.
Parameters Parameters
- $wp_rest_server
-
Server object.
Source Source
File: wp-includes/rest-api.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |