# WordPress log out everywhere doesn't log out discourse

**URL:** <https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827>\
**Category:** WordPress\
**Created:** [June 24, 2020, 3:42pm UTC](https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827 "2020-06-24T15:42:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [June 24, 2020, 4:12pm UTC](https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827/2 "2020-06-24T16:12:55Z")

</div>

> [@itsbhanusharma](#):
>
> we take the route of logging out their session through wordpress admin. This does not log them out of discourse however.

Do you know if there’s a WordPress action that is called when you log the user out through the WordPress admin? The [WP Discourse](https://github.com/discourse/wp-discourse) plugin hooks into the `clear_auth_cookie` action to sync user initiated logouts between WordPress and Discourse. Maybe there’s another action that could be used for this that would also work when the user is logged out by a site admin.

---

_[View the full topic](https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827)._
