• I have a plugin that schedules some code with the wp_schedule_event function.

    If I call wp_schedule_event after clicking a button in my plugin page, the event is scheduled correctly, but after loading any other page the cron is deleted.

    This does not happen if I disable the Better WP Security plugin or if I schedule the event in the plugin activation hook.

    I’ve tried to disable every option, but I cannot find the culprit.

    https://www.ads-software.com/plugins/better-wp-security/

  • The topic ‘Unable to use wp_schedule_event’ is closed to new replies.