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
- How can I update a wordpress plugin from a Git repository (github)
- Is There a Plugin Life Cycle Documentation?
- What is an alternative method to the WordPress private _doing_it_wrong() function
- Shortcode adding p and br tags
- Conflicting save_post functions when passing the post id and saving custom meta boxes for different post types
- Dynamically override page.php or single.php with custom templates using function
- How to get an image transferred via FTP or script to appear in Media Manager?
- wordpress 3.0 json issue
- How to extend expiry time of jwt wordpress token?
- $content variable – Is this a reserved variable for a WordPress function? – php / wordpress
- Applying OO patterns and principles to plugin development
- Replace youtube embed in wordpress
- How developed with version control word press site on shared host? [closed]
- Valid filenames for add_action’s first parameter
- Correct syntax for database inserts from plugin?
- $wpdb->update() always need a second try
- Why aren’t some plugin styles loading when I load a template?
- Pagination not working with custom wp_query
- WordPress actions for plugin admin UI page
- wp_insert_user keeps echoing values
- Pause plugin option page until all data manipulation is complete
- howTo let wordpress endpoint return html-page
- User meta query using Wildcard
- wp_ajax add_action fuction won’t fire on custom jQuery action
- How can I see a varibles value when my plugin runs?
- WordPress plugin: admin-ajax.php not passing data to custom function
- Create pages for authors
- How do I create Widget within plugin that uses its own class?
- How to design WooCommerce-like admin tabs for plugin settings page?
- Woocommerce: block user removing cart item
- How can I dynamically change title and description in WordPress?
- Is it smart to require_once wp-admin/includes/plugin.php when you need only one function from it