Remove subscription details from pms-subscriptions when user is already a member

If the user already has a Subscription Plan attached to this account and goes to a page with the [pms-subscriptions] shortcode, he will see the Subscription Details that [pms-account] shows when a user is already a member.

You might want to use both shortcodes on the same page. By adding this line of code to your website, the [pms-subscriptions] shortcode will return nothing when the user is already a member:

1
add_filter('pms_subscriptions_form_already_a_member', '__return_empty_string');

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Unlock PRO Features

Or download FREE version