updated plgntls :
- renamed PLGNTLS_class -> Plgntls - changed method 'add_to_front()' to static method - moved fetch script as inline script, so the plgntls file is single - improved the way inline script and styles are added
This commit is contained in:
@@ -17,8 +17,8 @@ if (!defined('ABSPATH')) {
|
||||
*
|
||||
*/
|
||||
function get_date_limit_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
$acf_card_expiration = PLGNTLS_class::ACF_CARD_EXPIRATION;
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
|
||||
/*
|
||||
* define ids
|
||||
@@ -71,7 +71,7 @@ function get_date_limit_CIPF($user_id = null) {
|
||||
*
|
||||
*/
|
||||
function card_date_diff_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
Plgntls::debug_infos();
|
||||
/*
|
||||
* get date limit as DateTime object
|
||||
*
|
||||
@@ -99,7 +99,7 @@ function card_date_diff_CIPF($user_id = null) {
|
||||
*
|
||||
*/
|
||||
function is_card_date_expired_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
Plgntls::debug_infos();
|
||||
|
||||
/*
|
||||
* define user_id
|
||||
@@ -131,8 +131,8 @@ function is_card_date_expired_CIPF($user_id = null) {
|
||||
*
|
||||
*/
|
||||
function card_date_exists_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
$acf_card_expiration = PLGNTLS_class::ACF_CARD_EXPIRATION;
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
|
||||
/*
|
||||
* define ids
|
||||
@@ -168,9 +168,9 @@ function card_date_exists_CIPF($user_id = null) {
|
||||
*
|
||||
*/
|
||||
function update_card_expiration_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
$acf_card_expiration = PLGNTLS_class::ACF_CARD_EXPIRATION;
|
||||
$card_duration = PLGNTLS_class::CARD_VALIDITY_TIME;
|
||||
Plgntls::debug_infos();
|
||||
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
|
||||
$card_duration = Plgntls::CARD_VALIDITY_TIME;
|
||||
|
||||
/*
|
||||
* define acf id and acf date format
|
||||
|
||||
Reference in New Issue
Block a user