Welcome [s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]!
Statistics: Posted by Cristián Lávaque — October 26th, 2011, 12:07 am
Statistics: Posted by ilana-av — October 25th, 2011, 9:15 am
[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]
Statistics: Posted by Eduan — October 25th, 2011, 8:58 am
Statistics: Posted by ilana-av — October 25th, 2011, 8:50 am
S2MEMBER_CURRENT_USER_FIRST_NAME
This will always be a (string) containing the current User's First Name. Empty if not logged in.
<?php echo S2MEMBER_CURRENT_USER_FIRST_NAME; ?>
This may output something like: John
( or whatever their first name is )
---- s2member Shortcode Equivalent ----
[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]
S2MEMBER_CURRENT_USER_LAST_NAME
This will always be a (string) containing the current User's Last Name. Empty if not logged in.
<?php echo S2MEMBER_CURRENT_USER_LAST_NAME; ?>
This may output something like: Smith
( or whatever their last name is )
---- s2member Shortcode Equivalent ----
[s2Get constant="S2MEMBER_CURRENT_USER_LAST_NAME" /]
S2MEMBER_CURRENT_USER_LOGIN
This will always be a (string) containing the current User's Username. Empty if not logged in.
<?php echo S2MEMBER_CURRENT_USER_LOGIN; ?>
This may output something like: johnsmith22
( or whatever their login/username is )
---- s2member Shortcode Equivalent ----
[s2Get constant="S2MEMBER_CURRENT_USER_LOGIN" /]
Statistics: Posted by Eduan — October 25th, 2011, 8:43 am
Statistics: Posted by ilana-av — October 25th, 2011, 7:34 am