better handling of init acf field

This commit is contained in:
asus
2024-04-10 21:04:52 +02:00
parent 114c6bfe38
commit 265664537e
4 changed files with 86 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ Plugin Name: hggg_cipf
Plugin URI:
Description:
Author: hugogogo
Version: 0.5.6
Version: 0.5.6.1
Author URI:
*/
@@ -84,6 +84,7 @@ class Cipf {
const ACF_HISTORY = ['_name'=>'historique'];
const ACF_PROF_CHANGE_CARD = ['_name'=>'changement_de_carte'];
const ACF_PAGE_STATE = ['_name'=>'etat_page_partenaire', 'publish'=>'Publiee', 'draft'=>'Brouillon'];
const ACF_EMAILS_REMINDERS = ['_name'=>'rappels_emails'];
const ACF_PARTNER_DATE_OFFER_1 = ['_name'=>'fin_offre_1'];
const ACF_PARTNER_DATE_OFFER_2 = ['_name'=>'fin_offre_2'];
const ACF_PARTNER_DATE_OFFER_3 = ['_name'=>'fin_offre_3'];