From 80be44baf060e19dcf0782810fa7185097336b8d Mon Sep 17 00:00:00 2001 From: Thomas Sjolshagen Date: Sun, 23 Jul 2017 15:01:41 -0400 Subject: [PATCH] ENHANCEMENT: Disable debug/test actions --- class.e20r-payment-warning-pmpro.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/class.e20r-payment-warning-pmpro.php b/class.e20r-payment-warning-pmpro.php index 4834e21..770fd4e 100755 --- a/class.e20r-payment-warning-pmpro.php +++ b/class.e20r-payment-warning-pmpro.php @@ -192,14 +192,15 @@ public function plugins_loaded() { /** Add all module remote AJAX call actions */ do_action( 'e20r_pw_addon_add_remote_call_handler' ); - // TODO: Testing actions: + // TODO: Testing actions (uncomment to include) + /* add_action( 'wp_ajax_test_get_remote_fetch', array( Fetch_User_Data::get_instance(), 'get_remote_subscription_data' ) ); add_action( 'wp_ajax_test_get_remote_payment', array( Fetch_User_Data::get_instance(), 'get_remote_payment_data' ) ); add_action( 'wp_ajax_test_run_record_check', array( Payment_Reminder::get_instance(), 'process_reminders') ); add_action( 'wp_ajax_test_clear_cache', array( Fetch_User_Data::get_instance(), 'clear_member_cache') ); add_action( 'wp_ajax_test_update_period', array( Cron_Handler::get_instance(), 'find_shortest_recurring_period' ) ); add_action( 'wp_ajax_test_send_reminder', array( Cron_Handler::get_instance(), 'send_reminder_messages' ) ); - + */ } /**