[memb_creditcard_expires]
This Applies to
Summary
This shortcode displays the specified content depending on the credit card expiration days remaining.
Shortcode Examples
To display a message if the card is expiring soon.
[memb_creditcard_expires days=30] You have %%days_left%% days left until your card expires. [/memb_creditcard_expires]
To display a message if the card is expiring soon, and another message if it’s not.
[memb_creditcard_expires days=30] You have %%days_left%% days left until your card expires. [else_memb_creditcard_expires] Your card isn't expiring soon. [/memb_creditcard_expires]
Shortcode Parameters
days: Desired number of days you want to use in order to display expiring credit cards for that period of time. For example, if you put “days=30” it will display all the credit cards that expire within 30 days period.