Created
November 28, 2015 00:17
-
-
Save strangerstudios/7824cf4c5bc27f76a824 to your computer and use it in GitHub Desktop.
Allow PMPro Pay by Check members to have full access, even with pending status.
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
/* | |
Allow PMPro Pay by Check members to have full access, even with pending status. | |
Add this code to your active theme's functions.php or a custom plugin. | |
*/ | |
function disable_pmpropbc_pmpro_has_membership_access_filter() | |
{ | |
remove_filter("pmpro_has_membership_access_filter", "pmpropbc_pmpro_has_membership_access_filter", 10, 4); | |
} | |
add_action('init', 'disable_pmpropbc_pmpro_has_membership_access_filter'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment