Fires after a user is logged out.
Parameters
$user_id
int- ID of the user that was logged out.
Source
do_action( 'wp_logout', $user_id );
Fires after a user is logged out.
$user_id
intdo_action( 'wp_logout', $user_id );
You must log in before being able to contribute a note or feedback.
For example, you could use it to delete a transient stored while user is logged in: