Created
February 24, 2018 00:27
-
-
Save ideadude/b414b2bc280576ebe8503089349a17a0 to your computer and use it in GitHub Desktop.
Increase the timeout limit to 20 when making a call to the PMPro License Server
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
/** | |
* Increase the timeout limit to 20 when making a call to the PMPro License Server | |
* Add this code to a custom plugin. | |
*/ | |
function my_pmpro_license_check( $timeout ) { | |
return 20; | |
} | |
add_filter( 'pmpro_license_check', 'my_pmpro_license_check' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment