um_reset_user

Description

This function resets the current user. You can use it to reset user data after retrieving the details of a specific user.

Usage

<?php um_reset_user(); ?>

Returns

Clears the user data. If a user is logged in, the user data will be reset to that user’s data

Examples

You can reset user data by using the following line in your code

<?php um_reset_user(); ?>