more improves in optin gestion in class, automatic handling for basic cases
This commit is contained in:
@@ -16,9 +16,18 @@ if (!defined('ABSPATH')) {
|
||||
*
|
||||
*/
|
||||
class Xtxpatch {
|
||||
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_xtxpatch', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
|
||||
const OPTION_TOGGLE_MENU = ['_name'=>'toggle_admin_menu_option_xtxpatch', 'show'=>'show', 'hide'=>'hide'];
|
||||
|
||||
const OPTION_REGISTER_EMAIL = [
|
||||
'_name'=>'define_email_at_register_xtxpatch',
|
||||
'_callback'=>__NAMESPACE__.'\define_register_email',
|
||||
'_default'=>[
|
||||
'email'=>
|
||||
'Bonjour,
|
||||
Vous venez de créer un compte sur le site carteprof.org avec l’identifiant : $$user_login$$
|
||||
La FIPF',
|
||||
'is_email_prof'=>true,
|
||||
'is_email_partner'=>true,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user