Forked from dparker1005/my_pmpro_payfast_fix_warning.php
Last active
August 9, 2021 09:03
-
-
Save JarrydLong/6073c541c5b86ed10b303f1955d0a4b0 to your computer and use it in GitHub Desktop.
Fix PMPro Payfast showing SSL error in admin menus when set up correctly.
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 | |
// Copy from below here... | |
/* | |
* Sets the gateway 'ready' global to true | |
*/ | |
function my_pmpro_payfast_fix_warning( $pmpro_is_ready ) { | |
return true; | |
} | |
add_filter( 'pmpro_is_ready', 'my_pmpro_payfast_fix_warning' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment