- removed custom user function and put it in custer

- changed main file for cipf instead of fipfcard
- reset some fields after prof form validation
This commit is contained in:
asus
2024-03-17 15:28:08 +01:00
parent eaa45c4ed1
commit a245bd4350
11 changed files with 82 additions and 788 deletions

View File

@@ -0,0 +1,61 @@
<?php
/*
Plugin Name: cipf_plugin
Plugin URI:
Description:
Author: hugogogo
Version: 0.2.9
Author URI:
*/
/*
* it means someone outside wp is accessing the file, in this case kill it.
*/
if (!defined('ABSPATH')) {
die('You can not access this file!');
}
/*
* plugin dir root
PLGNTLS_class::set_root_dir( plugin_dir_path(__FILE__), plugin_dir_url(__FILE__) );
*/
include_once( plugin_dir_path(__FILE__) . '/utils/plgntls_class.php');
/*
* general inclusions
*/
// utils :
include_once(PLGNTLS_class::root_path() . 'php/utils/globals.php');
include_once(PLGNTLS_class::root_path() . 'utils/console_log.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/example_menu.php');
include_once(PLGNTLS_class::root_path() . 'php/paypal/paypal.php');
include_once(PLGNTLS_class::root_path() . '/php/hide_admin.php');
//include_once(PLGNTLS_class::root_path() . '/php/menus.php');
include_once(PLGNTLS_class::root_path() . 'php/redirections.php');
include_once(PLGNTLS_class::root_path() . 'php/author_restriction.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_profil.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_form.php');
//include_once(PLGNTLS_class::root_path() . 'php/reset_card_form.php');
include_once(PLGNTLS_class::root_path() . 'php/partners_register.php');
include_once(PLGNTLS_class::root_path() . 'php/partners_page.php');
// form builder patch :
/*
include_once(PLGNTLS_class::root_path() . 'php/form_builder_patch/url_validation.php');
include_once(PLGNTLS_class::root_path() . 'php/form_builder_patch/multiple_modals.php');
*/
include_once(PLGNTLS_class::root_path() . 'php/form_builder_patch/form_calculation.php');
?>