Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Finding out what user is logged in

Simple Membership Plugin › Forums › Simple Membership Plugin › Finding out what user is logged in

Tagged: loggedin, user

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 2 months ago by tnscnate.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 29, 2015 at 6:11 pm #1912
    tnscnate
    Participant

    How can I find out which user is currently logged in?Does the built-in WordPress get_currentuserinfo(); return this information?

    Thanks!

    May 31, 2015 at 2:22 am #1924
    nur
    Participant
    
            $auth = SwpmAuth::get_instance();
            if ($auth->is_logged_in()) {
                echo $auth->get('user_name');
            }
    
    June 10, 2015 at 2:18 am #2022
    mbrsolution
    Moderator

    @tnscnate you might also like to check the following URL.

    Thank you

    June 12, 2015 at 3:04 pm #2070
    tnscnate
    Participant

    Excellent just what I needed, thank you.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy