Action hook 'wp_logout'

in WP Core File wp-includes/pluggable.php at line 671

Description

Fires after a user is logged out.

Occurrences

Filename Line Number
wp-includes/pluggable.php 671

Parameters

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

PHP Doc

/**
		 * 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.
		 */