Fix Error in exposer documentation

This commit is contained in:
vnmedeiros 2019-05-23 15:59:05 -03:00 committed by GitHub
parent 7a9e720777
commit 9b85c8f389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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');
```
```