[memb_creditcard_expires]

Version Added 2.41

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: ID # of post (defaults to current post)

Shortcode Attributes

Conditional: Yes (?)
Nestable: No (?)
Accepts formatting: Yes (?)
Capturable: Yes (?)