Open Colir opened 8 years ago
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();
$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
Think we might need a method to clear_expiry() which also removes the _expire_user_expired value.
clear_expiry()
_expire_user_expired
remove_expiry() just removes the expiry data but still keeps the user flagged as expired.
remove_expiry()
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