Last active
April 16, 2021 23:36
-
-
Save strangerstudios/2930051 to your computer and use it in GitHub Desktop.
Use Paid Memberships Pro Filter to Force HTTPS on All Pages
This file contains 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
/* | |
Add this into a custom plugin or your active theme's functions.php | |
*/ | |
add_filter("pmpro_besecure", "__return_true"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This recipe is included in the blog post on "Troubleshooting HTTPS/SSL Issues" at Paid Memberships Pro here: https://www.paidmembershipspro.com/debugging-httpsssl-issues/