Fix Error in exposer documentation
This commit is contained in:
parent
7a9e720777
commit
9b85c8f389
|
@ -126,8 +126,8 @@ It will give you all the items it received, in the way they were about to be ser
|
|||
It receives 3 parameters:
|
||||
|
||||
* $response: an instance of the `\WP_REST_Response` object
|
||||
* $response: an instance of the `\WP_REST_Server` object
|
||||
* $response: an instance of the `\WP_REST_Request` object
|
||||
* $handler: an instance of the `\WP_REST_Server` object
|
||||
* $request: an instance of the `\WP_REST_Request` object
|
||||
|
||||
This method have to return the modified version of the `\WP_REST_Response` object.
|
||||
|
||||
|
@ -257,4 +257,4 @@ function myNewExposer($exposers) {
|
|||
|
||||
}
|
||||
add_action('init', 'myNewExposer');
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue