created functions to handle all state changes
This commit is contained in:
@@ -126,7 +126,11 @@ function is_card_date_expired_CIPF($user_id = null) {
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* will add card_duration to card
|
||||
* card_duration is expected in a string format : https://www.php.net/manual/en/class.dateinterval.php
|
||||
*
|
||||
*/
|
||||
function update_card_expiration_CIPF($user_id = null, $card_duration = '0') {
|
||||
PLGNTLS_class::debug_infos();
|
||||
$acf_card_expiration = PLGNTLS_class::ACF_CARD_EXPIRATION;
|
||||
|
||||
Reference in New Issue
Block a user