wp_pre_logout hook proposal (2 posts)

  1. ssteiner
    Posted 5 years ago #

    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?

    Thanks, again,


  2. Rev. Voodoo
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic