filter item response

This commit is contained in:
Jacson Passold 2018-03-26 18:19:28 -03:00
parent e744fc4635
commit dd9e5c8ce0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class TAINACAN_REST_Items_Controller extends TAINACAN_REST_Controller {
$response = $this->prepare_item_for_response($item, $request);
return new WP_REST_Response($response, 200);
return new WP_REST_Response(apply_filters('tainacan-rest-response', $response, $request), 200);
}
/**