i4w_wp_logout
This hook allows you to run your own code immediately before any actions associated with the standard WordPress “wp_logout” action hook.
Parameters
Section titled “Parameters”None.
Example
Section titled “Example”function my_i4w_wp_logout() { // add your code to perform any desired action.}add_action('i4w_wp_logout', 'my_i4w_wp_logout', 1, 0);