Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strangerstudios/7824cf4c5bc27f76a824 to your computer and use it in GitHub Desktop.
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.
/*
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