updated plgntls :

- renamed PLGNTLS_class -> Plgntls
- changed method 'add_to_front()' to static method
- moved fetch script as inline script, so the plgntls file is single
- improved the way inline script and styles are added
This commit is contained in:
asus
2024-03-29 21:56:12 +01:00
parent 42e8cbc4e9
commit ade0be87ce
41 changed files with 457 additions and 421 deletions

View File

@@ -1,10 +1,10 @@
<?php
/*
Plugin Name: cipf_plugin
Plugin Name: hggg_cipf
Plugin URI:
Description:
Author: hugogogo
Version: 0.4.3
Version: 0.5.0
Author URI:
*/
@@ -25,32 +25,32 @@ 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::root_path() . 'php/utils/globals.php');
include_once(Plgntls::root_path() . 'php/utils/console_log.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/admin_menu.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/admin_menu_toggle.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/menu_content.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/post_paypal.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/post_payment_messages.php');
include_once(PLGNTLS_class::root_path() . 'php/admin_menu/post_email.php');
include_once(Plgntls::root_path() . 'php/admin_menu/admin_menu.php');
include_once(Plgntls::root_path() . 'php/admin_menu/admin_menu_toggle.php');
include_once(Plgntls::root_path() . 'php/admin_menu/menu_content.php');
include_once(Plgntls::root_path() . 'php/admin_menu/post_paypal.php');
include_once(Plgntls::root_path() . 'php/admin_menu/post_payment_messages.php');
include_once(Plgntls::root_path() . 'php/admin_menu/post_email.php');
include_once(PLGNTLS_class::root_path() . 'php/paypal/paypal.php');
include_once(Plgntls::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/profs_profil.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_form_commande.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_dates.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_states.php');
include_once(PLGNTLS_class::root_path() . 'php/profs_handle_states.php');
include_once(PLGNTLS_class::root_path() . 'php/partners_register.php');
include_once(PLGNTLS_class::root_path() . 'php/partners_page.php');
include_once(PLGNTLS_class::root_path() . 'php/display_css.php');
include_once(PLGNTLS_class::root_path() . 'php/payments.php');
include_once(PLGNTLS_class::root_path() . 'php/email_registration.php');
include_once(PLGNTLS_class::root_path() . 'php/random_posts.php');
include_once(Plgntls::root_path() . '/php/hide_admin.php');
//include_once(Plgntls::root_path() . '/php/menus.php');
include_once(Plgntls::root_path() . 'php/redirections.php');
include_once(Plgntls::root_path() . 'php/profs_profil.php');
include_once(Plgntls::root_path() . 'php/profs_form_commande.php');
include_once(Plgntls::root_path() . 'php/profs_dates.php');
include_once(Plgntls::root_path() . 'php/profs_states.php');
include_once(Plgntls::root_path() . 'php/profs_handle_states.php');
include_once(Plgntls::root_path() . 'php/partners_register.php');
include_once(Plgntls::root_path() . 'php/partners_page.php');
include_once(Plgntls::root_path() . 'php/display_css.php');
include_once(Plgntls::root_path() . 'php/payments.php');
include_once(Plgntls::root_path() . 'php/email_registration.php');
include_once(Plgntls::root_path() . 'php/random_posts.php');