updated options to make them not automatically loaded when added
This commit is contained in:
@@ -119,10 +119,21 @@ class PLGNTLS_class {
|
||||
// SHORTCODES
|
||||
|
||||
// OPTIONS
|
||||
const OPTION_PAYPAL = [
|
||||
'_name'=>'cipf_paypal_credentials',
|
||||
'_default' => [
|
||||
'is_sandbox' =>true,
|
||||
'client_id' =>PAYPAL_HUGO_SBOX_CLIENT_ID,
|
||||
'client_secret'=>PAYPAL_HUGO_SBOX_CLIENT_SECRET,
|
||||
],
|
||||
];
|
||||
|
||||
// MENU
|
||||
// ADMIN MENU
|
||||
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_cipf', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
|
||||
const TOGGLE_ADMIN_MENU = ['_name'=>'toggle_admin_menu_option_cipf', 'show'=>'show', 'hide'=>'hide'];
|
||||
const ADMIN_POST_PAYPAL = 'paypal_credentials_CIPF';
|
||||
const ADMIN_MENU_NONCE_PAYPAL = ['_name'=>'nonce_admin_menu_paypal_cipf', '_action'=>'action_admin_menu_paypal_cipf'];
|
||||
const ADMIN_MENU_PAYPAL_SANDBOX_LIVE = ['_name'=>'sandbox_live', 'sandbox'=>'sandbox', 'live'=>'live'];
|
||||
|
||||
// FORMS
|
||||
const FORM_PROF_COMMANDE_ID = 'prof_commande';
|
||||
|
||||
Reference in New Issue
Block a user