Skip to content

Instantly share code, notes, and snippets.

@ZellSnippets
Created February 6, 2014 01:18
Show Gist options
  • Save ZellSnippets/8836747 to your computer and use it in GitHub Desktop.
Save ZellSnippets/8836747 to your computer and use it in GitHub Desktop.
PHP: s2members Constants Shortcode
[s2Get constant="S2MEMBER_CURRENT_USER_ACCESS_LABEL" /]
[s2Get constant="S2MEMBER_CURRENT_USER_ACCESS_LEVEL" /]
[s2Get constant="S2MEMBER_CURRENT_USER_CUSTOM" /]
[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]
[s2Get constant="S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED" /]
[s2Get constant="S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_DAYS" /]
[s2Get constant="S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_IS_UNLIMITED" /]
[s2Get constant="S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY" /]
[s2Get constant="S2MEMBER_CURRENT_USER_EMAIL" /]
[s2Get constant="S2MEMBER_CURRENT_USER_FIELDS" /]
[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]
[s2Get constant="S2MEMBER_CURRENT_USER_ID" /]
[s2Get constant="S2MEMBER_CURRENT_USER_IP" /]
[s2Get constant="S2MEMBER_CURRENT_USER_IS_LOGGED_IN" /]
[s2Get constant="S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER" /]
[s2Get constant="S2MEMBER_CURRENT_USER_LAST_NAME" /]
[s2Get constant="S2MEMBER_CURRENT_USER_LOGIN" /]
[s2Get constant="S2MEMBER_CURRENT_USER_LOGIN_COUNTER" /]
[s2Get constant="S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS" /]
[s2Get constant="S2MEMBER_CURRENT_USER_PAID_REGISTRATION_TIME" /]
[s2Get constant="S2MEMBER_CURRENT_USER_PROFILE_MODIFICATION_PAGE_URL" /]
[s2Get constant="S2MEMBER_CURRENT_USER_REGISTRATION_DAYS" /]
[s2Get constant="S2MEMBER_CURRENT_USER_REGISTRATION_IP" /]
[s2Get constant="S2MEMBER_CURRENT_USER_REGISTRATION_TIME" /]
[s2Get constant="S2MEMBER_CURRENT_USER_SUBSCR_GATEWAY" /]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment