59 lines
1.5 KiB
PHP
59 lines
1.5 KiB
PHP
<?php
|
|
/*
|
|
Plugin Name: cipfcard_plugin
|
|
Plugin URI:
|
|
Description:
|
|
Author: hugogogo
|
|
Version: 1.1.0
|
|
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
|
|
*/
|
|
include_once( plugin_dir_path(__FILE__) . '/utils/plgntls_class.php');
|
|
PLGNTLS_class::set_root_dir( plugin_dir_path(__FILE__), plugin_dir_url(__FILE__) );
|
|
|
|
|
|
|
|
|
|
/*
|
|
* general inclusions
|
|
*/
|
|
// utils :
|
|
include_once(PLGNTLS_class::get_path() . 'php/utils/globals.php');
|
|
include_once(PLGNTLS_class::get_path() . 'utils/console_log.php');
|
|
|
|
include_once(PLGNTLS_class::get_path() . 'php/admin_menu/example_menu.php');
|
|
|
|
include_once(PLGNTLS_class::get_path() . 'php/paypal/paypal.php');
|
|
|
|
include_once(PLGNTLS_class::get_path() . '/php/user_infos.php');
|
|
include_once(PLGNTLS_class::get_path() . '/php/hide_admin.php');
|
|
//include_once(PLGNTLS_class::get_path() . '/php/menus.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/register_partenaires.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/redirections.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/author_restriction.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/reset_acf_fields.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/filter_mail.php');
|
|
include_once(PLGNTLS_class::get_path() . 'php/prof_check_page.php');
|
|
|
|
// form builder patch :
|
|
//include_once(PLGNTLS_class::get_path() . 'php/form_builder_patch/url_validation.php');
|
|
//include_once(PLGNTLS_class::get_path() . 'php/form_builder_patch/multiple_modals.php');
|
|
|
|
|
|
|
|
|
|
|
|
?>
|