created xtxpatch git repo

This commit is contained in:
asus
2024-07-17 15:35:44 +02:00
parent d32b9f06e1
commit e8ee5c898d
5 changed files with 1621 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,36 @@
<?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,
],
];
}
?>