um_reset_user_clean

Description

This function is similar to um_reset_user() with the difference that it will not use the logged-in user data after resetting. It is a hard-reset function for all user data.

Usage

<?php um_reset_user_clean(); ?>

Returns

Clears the user data. You need to fetch a user manually after using this function.

Examples

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

<?php um_reset_user_clean(); ?>