- This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Logout function?
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!
Here is a sample code that you can use to manually logout the user:
$auth = SwpmAuth::get_instance();
$auth->logout();