You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Require Membership Block" is lacking filters to show/hide the block content and needs to be adjusted.
A workaround is to set the user's membership to false, as per this code snippet - #16 (comment)
The issue with this method is other things rely on the user having an active level, but still pending. Such as the non-member level text message tweaked slightly for pending Pay By Check Members.
A better long-term solution would be to add a filter to the output of the Block's PHP similar to the pmpro_member_shortcode_access filter for the [membership] shortcode.
The "Require Membership Block" is lacking filters to show/hide the block content and needs to be adjusted.
A workaround is to set the user's membership to false, as per this code snippet - #16 (comment)
The issue with this method is other things rely on the user having an active level, but still pending. Such as the non-member level text message tweaked slightly for pending Pay By Check Members.
A better long-term solution would be to add a filter to the output of the Block's PHP similar to the
pmpro_member_shortcode_access
filter for the[membership]
shortcode.Code reference: https://github.com/strangerstudios/paid-memberships-pro/blob/dev/blocks/membership/block.php#L39-L49
The text was updated successfully, but these errors were encountered: