Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace EventEspresso\core\libraries\rest_api\changes; |
||
41 | public function removeResponseHeaders($response_headers, $controller, $requested_version) |
||
42 | { |
||
43 | if ($controller instanceof Base |
||
44 | && $this->appliesToVersion($requested_version) |
||
45 | ) { |
||
46 | return array(); |
||
47 | } |
||
48 | return $response_headers; |
||
49 | } |
||
50 | } |
||
51 |