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

Logout function?

Simple Membership Plugin › Forums › Simple Membership Plugin › Logout function?

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 3, 2015 at 5:30 pm #2221
    aesop1
    Participant

    What is the logout function for Simple Membership? Keep in mind I don’t want the info for the login link, just the function so I can sync it with the regular WordPress login.

    An API would really be great, btw.

    Thanks!

    July 4, 2015 at 12:31 am #2224
    admin
    Keymaster

    Here is a sample code that you can use to manually logout the user:

    
    $auth = SwpmAuth::get_instance();
    $auth->logout();
    
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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