as_unschedule_all_actions not working
-
I schedule a recurring event using this code:
as_schedule_recurring_action( time(), 2, ‘tsbs-async-execute-hook’, array( ‘tsbs’ => null ), ‘tsbs-thumbnails’ );After some processing I want to cancel this recurring event with this code:
as_unschedule_all_actions( ‘tsbs-async-execute-hook’ );The event does not get cancelled!
Any help appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘as_unschedule_all_actions not working’ is closed to new replies.