Created
September 24, 2019 16:28
-
-
Save mklasen/a9f38d2b9ee198c779536927c96779ed to your computer and use it in GitHub Desktop.
Disable Domain checking when testing WP's / EDD's updating mechanisms locally
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
<?php | |
add_filter('edd_sl_api_request_verify_ssl', '__return_false'); | |
add_filter('https_ssl_verify', '__return_false'); | |
add_filter('https_local_ssl_verify', '__return_false'); | |
add_filter('http_request_host_is_external', '__return_true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment