WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_logout

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php do_action 665 /**
* Fires after a user is logged out.
*
* @since 1.5.0
* @since 5.5.0 Added the `$user_id` parameter.
*
* @param int $user_id ID of the user that was logged out.
*/

Hook Parameters

Parameter Type Name Description
int $user_id ID of the user that was logged out.