wip creating emails
This commit is contained in:
@@ -28,12 +28,6 @@ include_once( plugin_dir_path(__FILE__) . '/plgntls_class.php');
|
||||
include_once(Plgntls::root_path() . 'php/utils/globals.php');
|
||||
include_once(Plgntls::root_path() . 'php/utils/console_log.php');
|
||||
|
||||
include_once(Plgntls::root_path() . 'php/admin_menu/admin_menu.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_menu/admin_menu_toggle.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_menu/menu_content.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_menu/post_paypal.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_menu/post_payment_messages.php');
|
||||
|
||||
// paypal
|
||||
include_once(Plgntls::root_path() . 'php/paypal/paypal.php');
|
||||
// profs
|
||||
@@ -53,6 +47,7 @@ include_once(Plgntls::root_path() . 'php/display_css.php');
|
||||
include_once(Plgntls::root_path() . 'php/payments.php');
|
||||
include_once(Plgntls::root_path() . 'php/random_posts.php');
|
||||
include_once(Plgntls::root_path() . 'php/scheduled_events.php');
|
||||
include_once(Plgntls::root_path() . 'php/emails.php');
|
||||
// admin
|
||||
include_once(Plgntls::root_path() . 'php/admin_hide_bar.php');
|
||||
include_once(Plgntls::root_path() . 'php/admin_user_profil.php');
|
||||
@@ -154,6 +149,22 @@ vous allez être redirigés vers votre espace',
|
||||
vous allez être redirigés vers votre espace',
|
||||
],
|
||||
];
|
||||
const OPTION_EMAILS = [
|
||||
'_name'=>'cipf_emails_option',
|
||||
'_callback'=>'update_emails_settings_option_CIPF',
|
||||
'_default'=>[
|
||||
[
|
||||
'action'=>'success_payment',
|
||||
'notification_send'=>true,
|
||||
'notification_to'=>'test',
|
||||
'notification_subject'=>"paiement réussi",
|
||||
'notification_message'=>"par ici la monnaie",
|
||||
'confirmation_send'=>true,
|
||||
'confirmation_subject'=>"paiement réussi",
|
||||
'confirmation_mesage'=>"donne l'argent",
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
// ADMIN MENU
|
||||
|
||||
Reference in New Issue
Block a user