I want to hook the user's logout before they actually logout, so I can tell who is logging out.
Currently, the wp_logout() function in wp-includes/pluggable.php performs the wp_logout hook *after* the user has already logged out, so the "who has just logged out" information is lost.
I am proposing a new hook:
that will execute just before the logout is executed.
This will not affect any existing code, and will allow plugin authors to get "in there" just before the logout happens.
Thanks for any comments, suggestions, etc.
P.S. I'm not really in "the loop" with WordPress development. Is this the right place to propose this, or is some other avenue available?