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.

Print current user Role and their EOT!

Home Forums Community Forum Print current user Role and their EOT!

This topic contains 0 replies, has 1 voice. Last updated by  brokoth dina 4 years, 2 months ago.

Topic Author Topic
Posted: Sunday Oct 28th, 2012 at 7:53 am #29959

Hello there,

Really great plugin; use so far without any issue. For now, I wanna to print/show current login user their Role & their EOT in my template file.

roles ) && is_array( $user->roles ) ) {
        foreach ( $user->roles as $role )
            echo $role; }
?>

That show the user Role something like (s2member_level1, s2member_level2, s2member_level3, …) not their current Role that I’ve set in S2 like (Free Member, Gold Member, …). Note: I’ve already used Membership Label & reset it.

Another one is to show their EOT.

Thanks,

Dina

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.