wip newsletter i dont know how to detect if offer is new

This commit is contained in:
asus
2024-05-02 18:06:54 +02:00
parent 746919082a
commit b75f2718b8
3 changed files with 197 additions and 91 deletions

View File

@@ -4,7 +4,7 @@ Plugin Name: hggg_cipf
Plugin URI:
Description:
Author: hugogogo
Version: 0.5.13
Version: 0.5.15
Author URI:
*/
@@ -100,8 +100,8 @@ class Cipf {
const ACF_PARTNER_OFFER_3_OUTPUT = ['_name'=>'afficher_offre_3', 'show'=>'Afficher', 'hide'=>'Masquer'];
const ACF_READONLY_CLASS = 'readonly_acf';
const ACF_DATE_FORMAT = 'Ymd';
const ACF_NEWSLETTER_RECEIVE = ['name' => 'recevoir_la_newsletter', 'true' => 'recevoir'];
const ACF_NEWSLETTER_ID = ['name' => 'identifiant_newsletter'];
const ACF_NEWSLETTER_RECEIVE = ['_name' => 'recevoir_la_newsletter', 'true' => 'recevoir'];
const ACF_NEWSLETTER_ID = ['_name' => 'identifiant_newsletter'];
// META
const META_PAYEMENT_STATUS = 'cipf_payement_status';