Created
October 16, 2017 07:13
-
-
Save barrykooij/8bd92e5884159867ead385438cd53fe2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dlm_download_headers_remove_robots( $headers ) { | |
unset( $headers['X-Robots-Tag'] ); | |
return $headers; | |
} | |
add_filter( 'dlm_download_headers', 'dlm_download_headers_remove_robots', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment