deleting a cron wp_scheduled_event on theme deactivation
-
My question is this: I’m writing a theme that adds a scheduled event upon theme activation, but I can’t find a hook to use to un-schedule that event when the user switches to another theme. i tried “switch_themes” but that runs after the new theme is activated, not as the old theme is deactivating, as far as I can tell. any thoughts? Thanks!
- The topic ‘deleting a cron wp_scheduled_event on theme deactivation’ is closed to new replies.