Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-04T02:43:30-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16180 2011-12-04T02:43:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16180&p=54508#p54508 <![CDATA[Re: call member email in form field]]> WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants -> S2MEMBER_CURRENT_USER_EMAIL


S2MEMBER_CURRENT_USER_EMAIL
This will always be a (string) containing the current User's Email Address. Empty if not logged in.

<?php echo S2MEMBER_CURRENT_USER_EMAIL; ?>
This may output something like: johnsmith@example.com
( or whatever their email address is )

---- s2member Shortcode Equivalent ----

[s2Get constant="S2MEMBER_CURRENT_USER_EMAIL" /]


I hope it helps. :)

Statistics: Posted by Cristián Lávaque — December 4th, 2011, 2:43 am


]]>
2011-12-03T22:08:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16180&p=54483#p54483 <![CDATA[call member email in form field]]> Statistics: Posted by antseo — December 3rd, 2011, 10:08 pm


]]>