- updated all occurences of Plgntls:: constantes for Cipf:: const
- update menu to use the new methods
This commit is contained in:
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
||||
*/
|
||||
function get_date_limit_CIPF($user_id = null) {
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
|
||||
|
||||
/*
|
||||
* define ids
|
||||
@@ -132,7 +132,7 @@ function is_card_date_expired_CIPF($user_id = null) {
|
||||
*/
|
||||
function card_date_exists_CIPF($user_id = null) {
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
|
||||
|
||||
/*
|
||||
* define ids
|
||||
@@ -169,8 +169,8 @@ function card_date_exists_CIPF($user_id = null) {
|
||||
*/
|
||||
function update_card_expiration_CIPF($user_id = null) {
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
$card_duration = Plgntls::CARD_VALIDITY_TIME;
|
||||
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
|
||||
$card_duration = Cipf::CARD_VALIDITY_TIME;
|
||||
|
||||
/*
|
||||
* define acf id and acf date format
|
||||
|
||||
Reference in New Issue
Block a user