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

@@ -19,12 +19,12 @@ if (!defined('ABSPATH')) {
*
*/
//function schedule_delete_orderid_CIPF($user_id, $order_id) {
// PLGNTLS_class::debug_infos();
// Plgntls::debug_infos();
// $delay = time() + MINUTE_IN_SECONDS;
// wp_schedule_single_event($delay, 'orderid_deletion_event_CIPF', array($user_id, $order_id));
//}
//function delete_order_id_later_CIPF($user_id, $order_id) {
// PLGNTLS_class::debug_infos();
// Plgntls::debug_infos();
// delete_user_meta($user_id, 'cipf_order_id', $order_id);
//}
//add_action('orderid_deletion_event_CIPF', 'delete_order_id_later_CIPF', 5, 2);