latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Username variable in WordPress menu array

Home Forums Community Forum Username variable in WordPress menu array

This topic contains 3 replies, has 2 voices. Last updated by  Eduan 4 years, 3 months ago.

Topic Author Topic
Posted: Thursday Sep 27th, 2012 at 8:34 am #26693
Beags
Username: elbego

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Thursday Sep 27th, 2012 at 4:32 pm #26732
Eduan
Username: Eduan
Moderator

Hello Beags,

Don’t know if it’ll work in the meny, but you would use PHP constans for this one, you can find them under Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants.

Hope this helps. :)

Posted: Friday Sep 28th, 2012 at 5:44 am #26817
Beags
Username: elbego

Cheers – ended up using WPs:

$current_user = wp_get_current_user();
Posted: Friday Sep 28th, 2012 at 11:55 am #26852
Eduan
Username: Eduan
Moderator

Cool! Glad you solved your problem. :)

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.