Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace EventEspresso\core\libraries\rest_api\changes; |
||
18 | public function setHooks() |
||
19 | { |
||
20 | //set a hook to remove the checkout/checkout endpoints if the request |
||
21 | //is for lower than 4.8.33 |
||
22 | add_filter( |
||
23 | 'FHEE__EventEspresso\core\libraries\rest_api\controllers\Base___get_response_headers', |
||
24 | array($this, 'removeResponseHeaders'), |
||
25 | 10, |
||
26 | 3 |
||
27 | ); |
||
28 | } |
||
29 | |||
51 |