Open eugeniobonifacio opened 1 month ago
Sorry, the 'init' hook is not a filter but an action:
add_action('init', function () {
if(!is_admin()) {
add_filter( 'cron_schedules', array( Settings::class, 'add_schedules' ), 100, 1 );
}
});
Hello,
I've been struggling with the "update on save" cron not working. I found a couple of issues that need to be fixed:
I temporary fixed them using the following hooks:
I hope this can be helpful to improve the plugin.