Page 1 of 1

%%current_user_level%%, but in <?php ---- ?>

PostPosted: September 20th, 2011, 5:57 pm
by ukconstruction
Hi All,

please can you tell me how i can use this as a hyperlink, for example

<a href="http://www.website.com/welcome-%%current_user_level%%" > Dashboard</a>

just need the <?php ?>

cheers

Ian :D

Re: %%current_user_level%%, but in <?php ---- ?>

PostPosted: September 20th, 2011, 6:13 pm
by ukconstruction
hidden

Re: %%current_user_level%%, but in <?php ---- ?>

PostPosted: September 26th, 2011, 12:16 am
by Cristián Lávaque
Hi Ian. Yeah, you'll find plenty of constants you can use with s2Member. WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants :)