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

@@ -23,7 +23,7 @@ if (!defined('ABSPATH')) {
*
*/
function handle_transfert_validation_CIPF($user_id) {
PLGNTLS_class::debug_infos();
Plgntls::debug_infos();
if (false === is_transfert_success_CIPF($user_id)) {
return;
}
@@ -44,7 +44,7 @@ function handle_transfert_validation_CIPF($user_id) {
*
*/
function handle_card_expire_CIPF($user_id) {
PLGNTLS_class::debug_infos();
Plgntls::debug_infos();
if (false === card_date_exists_CIPF($user_id)) {
return;
}