discourse:beta
← discourse:sync-logout-with-discourse
opened 12:28AM - 21 Jul 16 UTC
Log the current user out of Discourse before logging them out of WordPress.
Thi…s function hooks into the 'clear_auth_cookie' action. It is the last action hook before logout where it is possible to access the user_id.