expire-users icon indicating copy to clipboard operation
expire-users copied to clipboard

Remove expire date

Open Colir opened this issue 9 years ago • 1 comments

Hi. i'm trying to remove the expire date on user by php (like setting "none" in the setting of a user)

for do this i rite something like this 👍 $expireUser = new Expire_User( $user->user_id); $expireUser->remove_expiry(); $expireUser->save_user();

but when the date is reach, the user keep the date in red... how i can do this ? thanks.

and thanks for you work on this plugin

Colir avatar Sep 05 '16 12:09 Colir

Think we might need a method to clear_expiry() which also removes the _expire_user_expired value.

remove_expiry() just removes the expiry data but still keeps the user flagged as expired.

benhuson avatar Apr 21 '20 18:04 benhuson