Skip to content

Instantly share code, notes, and snippets.

/gist.md Secret

Created May 5, 2016 16:03
Show Gist options
  • Save anonymous/5dd0693b8b60156298fb276b32513c77 to your computer and use it in GitHub Desktop.
Save anonymous/5dd0693b8b60156298fb276b32513c77 to your computer and use it in GitHub Desktop.
add_filter( 'FHEE__EEM_Payment_Method__verify_button_urls__button_urls_to_try', 'ee_dont_consider_ssl_button_urls' );
function ee_dont_consider_ssl_button_urls( $button_urls_to_try ) {
unset( $button_urls_to_try[ 'current_ssl' ] );
unset( $button_urls_to_try[ 'default_ssl' ] );
return $button_urls_to_try;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment