cipf v 0.5.5 added history and order id acf

This commit is contained in:
asus
2024-04-09 11:46:08 +02:00
parent 272bc07f81
commit 36dc26817a
6 changed files with 57 additions and 236 deletions

View File

@@ -4,7 +4,7 @@ Plugin Name: hggg_cipf
Plugin URI:
Description:
Author: hugogogo
Version: 0.5.4
Version: 0.5.5
Author URI:
*/
@@ -83,6 +83,7 @@ class Cipf {
const ACF_PAGE_STATE = ['_name'=>'etat_page_partenaire', 'publish'=>'Publiee', 'draft'=>'Brouillon'];
const ACF_CARD_ORDER_ID = ['_name'=>'order_id'];
const ACF_HISTORY = ['_name'=>'history'];
const ACF_PROF_DELETE_ACCOUNT = ['_name'=>'date_suppression_compte'];
// META
const META_PAYEMENT_STATUS = 'cipf_payement_status';
@@ -133,7 +134,7 @@ class Cipf {
// SCHEDULED EVENTS
const DURATION_OLD_ORDER_ID = '3 days';
const DURATION_ACCOUNT_DELETE_AFTER_EXPIRE = '6 months';
const DURATION_ACCOUNT_DELETE_AFTER_EXPIRE = '+6 months';
const DURATION_REMINDER_BEFORE_ACCOUNT_EXPIRE_FIRST = '1 month';
const DURATION_REMINDER_BEFORE_ACCOUNT_EXPIRE_LAST = '7 days';
const DURATION_REMINDER_BEFORE_ACCOUNT_DELETE_FIRST = '1 month';