wip newsletter, started by creating the acf field and the scheduled event
This commit is contained in:
@@ -4,7 +4,7 @@ Plugin Name: hggg_cipf
|
||||
Plugin URI:
|
||||
Description:
|
||||
Author: hugogogo
|
||||
Version: 0.5.12
|
||||
Version: 0.5.13
|
||||
Author URI:
|
||||
*/
|
||||
|
||||
@@ -51,6 +51,7 @@ include_once(Plgntls::root_path() . 'php/_actions_payments.php');
|
||||
include_once(Plgntls::root_path() . 'php/_actions_random_posts.php');
|
||||
include_once(Plgntls::root_path() . 'php/_actions_scheduled_events.php');
|
||||
include_once(Plgntls::root_path() . 'php/_actions_emails.php');
|
||||
include_once(Plgntls::root_path() . 'php/_actions_newsletter.php');
|
||||
// admin
|
||||
include_once(Plgntls::root_path() . 'php/admin_hide_bar.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_user_profil.php');
|
||||
@@ -99,6 +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'];
|
||||
|
||||
// META
|
||||
const META_PAYEMENT_STATUS = 'cipf_payement_status';
|
||||
|
||||
Reference in New Issue
Block a user