From 1380feb0cd157e3a1eac84b9ea5069fbfb0b1b83 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 25 Mar 2022 13:18:27 -0600 Subject: [PATCH] remove header.md --- docs/header.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 docs/header.md diff --git a/docs/header.md b/docs/header.md deleted file mode 100644 index 604e634..0000000 --- a/docs/header.md +++ /dev/null @@ -1,23 +0,0 @@ -# WordPress Edge Integrations: Vary Header - -## Filter reference - -### `pantheon.ei.supported_vary_headers` - -Modify the vary headers supported by the plugin. - -#### Parameters - -_(array)_ An array of vary headers supported by the plugin. - -#### Example - -```php -add_filter( 'pantheon.ei.supported_vary_headers', 'supported_vary_headers' ); - -function supported_vary_headers( array $data ) : array { - // Disable Interest header. - $data['Interest'] = false; - return $data; -} -``` \ No newline at end of file