So as we discussed this in chat, there was one (wired) thing:
The hook name must not(!) contain underscores.
To keep yourself on the save side of life, better lower case it as well.
Related Posts:
- How to redirect to settings page once the plugin is activated?
- How to output message during plugin activation
- Prevent network activation of plugin
- Inserting Taxonomy Terms During a Plugin Activation?
- Which action for triggering cron “wp”or “init”?
- wp_schedule_event in a class
- WP Cron – Run Cron after evey 15 minutes at a specific time for the next three hours
- WordPress scheduled task is called but not executed
- Problem creating cron job wordpress
- How Do I Make WordPress Run an Event Every Day?
- How can I change the frequency of a scheduled event?
- Hourly WP schedule, do I need at least 1 visitor hourly?
- WP Cron doesn’t save or in post body
- Call activation hook multiple times
- Only allow plugin to be activated on root site of multisite
- why creating tables using $wpdb is not being executed while installing plugins?
- Is there any background process that I can run from plugin without depending on page hits on a website without affecting page-load speed?
- WordPress cron running twice
- Override pluggable functions in a plugin?
- Plugin activation error due to unexpected output
- Scheduling a task using class methods
- Settings not set after calling register_setting()
- What is minimum time interval for which a cron be scheduled?
- Will cron job run if page loaded is being served from cache?
- Use wp_set_post_terms() instead of wp_insert_post()
- Programmatically detect if wp-cron is disabled?
- How to schedule a cron job in plugin without waiting for page load request?
- Insert terms for custom taxonomy on plugin activation, or each page load (init hook)
- How to perform a heavy and long process in cron jobs?
- WordPress daily cron is executing more frequently than once a day
- wp-cron and execution of code in is_admin() included script
- How to Trigger WP CRON at Local Timestamp?
- WP Cron being triggered but not working as expected
- Add Link Category on Activation?
- wp_schedule_event() set daily, but processed every second
- WordPress Plugin Activate / Deactive Failing
- Will I get an error if I try unscheduling a WP Cron scheduled task that wasn’t scheduled?
- Looking for a better way to initiate cron job
- Multiple array for post_content on plugin activation
- Class cannot be found, but it’s available in the file, I get: Fatal Error: Uncaught Error: Class ‘Blocks\Base\Activation’ not found
- WordPress plugin cron working only if admin is logged in
- Plugin can’t be activated [closed]
- How to make a cronjob type plugin
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- Activate / Deactivate plugin
- wp_schedule_single_event is set correctly but sometimes not fired
- How to Run Plugin on Server Without Web Browser
- WordPress Fatal error: Uncaught Error: Call to undefined function dbDelta()
- Custom Plugin activation error in Multisite
- Plugin with functions inside a class & how to trigger WP CRON
- Custom recurrence not working / Wp Cron event
- How to store in the database directly the translation?
- How and when would I implement some code which would take data from one part of the Db and put it in another?
- Unable to show a message after plugin activation
- WP Cron as Fast as WordPress AJAX?
- Detect each active instance of a widget
- Refresh or redirect page after activate my plugin
- I can install my plugin in localhost but not in my server
- What is the use of wp_schedule_event hook?
- WordPress plugin tables become corrupt
- Can wp_schedule_single_event be used to run background proccess?
- Deactivate plugin on registration
- Call do_action() within WordPress cronjob
- Running one-off cron jobs when WP_DISABLE_CRON is true: can I hit /wp-cron.php?
- how can a plugin return an error message on activation?
- Is there a canonical way for a plugin to install a mu-plugin or drop-in?
- wp cron does not run when i am not logged in to wp admin
- My activator class isn’t running the code inside
- WordPress Cron Job not importing products
- Weekly cron is either missing the schedule or triggered too many times on Fridays
- Objective Best Practices for Plugin Development? [closed]
- add_menu_page() with different name for first submenu item
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- How to include PHP files in plugins the correct way
- How can I add an image upload field directly to a custom write panel?
- A tool to analyze rewrite rules? [closed]
- Difference Between Filter and Action Hooks?
- framework for plugin/theme options panel? [closed]
- Creating a table in the admin-style?
- How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
- Settings API with arrays example
- How to get the path to the current theme?
- How to make a plugin require another plugin?
- ajaxurl not defined on front end
- What process do you use for WordPress development? [closed]
- What’s the difference between term_id and term_taxonomy_id
- Should I use wpdb prepare?
- Why does WordPress use outdated jQuery v1.12.4?
- Post meta vs separate database tables
- Is there any plugin development framework
- Is it possible to reuse wp.media.editor Modal for dialogs other than media
- How to add a javascript snippet to the footer that requires jQuery
- Enhance Media Manager for Gallery
- How do I create a custom role capability?
- How do I add CSS options to my plugin without using inline styles?
- How do i best handle custom plugin page actions?
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Automatically determine minimum WordPress version required for a plugin?
- What is the advantage of using wp_mail?