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

@@ -9,15 +9,15 @@ if (!defined('ABSPATH')) {
include_once(PLGNTLS_class::root_path() . '/php/utils/http_errors.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_utils.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/user_can_pay.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/update_user_payment.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/shortcode.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_orders.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_orders_capture.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/routes.php');
include_once(PLGNTLS_class::root_path() . '/php/paypal/payment_page.php');
include_once(Plgntls::root_path() . '/php/utils/http_errors.php');
include_once(Plgntls::root_path() . '/php/paypal/route_api_utils.php');
include_once(Plgntls::root_path() . '/php/paypal/user_can_pay.php');
include_once(Plgntls::root_path() . '/php/paypal/update_user_payment.php');
include_once(Plgntls::root_path() . '/php/paypal/shortcode.php');
include_once(Plgntls::root_path() . '/php/paypal/route_api_orders.php');
include_once(Plgntls::root_path() . '/php/paypal/route_api_orders_capture.php');
include_once(Plgntls::root_path() . '/php/paypal/routes.php');
include_once(Plgntls::root_path() . '/php/paypal/payment_page.php');