Files
2024_WORDPRESS_PLUGIN_xtxpatch/php/classes/xtxpatch_class.php
2024-07-17 15:35:44 +02:00

37 lines
639 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace XTXPATCH;
/*
* it means someone outside wp is accessing the file, in this case kill it.
*/
if (!defined('ABSPATH')) {
die('You can not access this file!');
}
/*
*
*/
class Xtxpatch {
const ROLE_PROF = 'professeur__professeure';
const ROLE_PARTNER = 'partenaire';
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 lidentifiant : $$user_login$$
La FIPF',
'is_email_prof'=>true,
'is_email_partner'=>true,
],
];
}
?>