| 1 |
<?php echo S2MEMBER_VERSION; ?> |
| 2 |
This may output something like: 110620 |
| 3 |
( or whatever the current version number is ) |
| 4 |
Use PHP's version_compare() function to test this. |
| 5 |
|
| 6 |
Note: s2Member versions now follow their release date. |
| 7 |
Ex: s2Member v110620 was released June 20th 2011. |
| 8 |
( YYMMDD format ) |
| 9 |
|
| 10 |
---- s2member Shortcode Equivalent ---- |
| 11 |
|
| 12 |
[s2Get constant="S2MEMBER_VERSION" /] |