Forums

deleting a cron wp_scheduled_event on theme deactivation (1 post)

  1. jaredh123
    Member
    Posted 4 months ago #

    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!

Reply

You must log in to post.

About this Topic