wp_logout, $user_id

wp_logout, $user_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('wp_logout, $user_id') is found 1 times:

  • /wp-includes/pluggable.php line 759
    		 * @since 5.5.0 Added the `$user_id` parameter.
    		 *
    		 * @param int $user_id ID of the user that was logged out.
    		 */
    		do_action( 'wp_logout', $user_id );
    	}
    endif;
    
    if ( ! function_exists( 'wp_validate_auth_cookie' ) ) :
    	/**
    	 * Validates authentication cookie.