| 1 |
<?php echo S2MEMBER_CURRENT_USER_SUBSCR_ID; ?> |
| 2 |
This may output something like: I-82234JD0923423 |
| 3 |
|
| 4 |
This is the Paid Subscription ID associated with their account. |
| 5 |
Or, for Lifetime subscriptions sold through Buy Now buttons, this will hold the Paid Transaction ID associated with their purchase. |
| 6 |
Or, if the User is a Free Subscriber ( i.e. NOT a paying Member ), this will simply be an empty string. |
| 7 |
|
| 8 |
---- s2member Shortcode Equivalent ---- |
| 9 |
|
| 10 |
[s2Get constant="S2MEMBER_CURRENT_USER_SUBSCR_ID" /] |