Skip to content

Commit

Permalink
ENHANCEMENT: Disable debug/test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sjolshagen committed Jul 23, 2017
1 parent 735a4b6 commit 80be44b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions class.e20r-payment-warning-pmpro.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) );

*/
}

/**
Expand Down

0 comments on commit 80be44b

Please sign in to comment.