I am trying to use pre_set_site_transient_update_plugins
to update my plugin from a GitHub repository.
For that I am using this example. On my Dev-System (MAMP for Mac Version 2.2) everything is fine. It gets the latest Version and shows me the update notification.
When I publish it to my Live System wich is a hosted webspace package. I don’t get the Update Notification. Even after waiting 12 hours or using ?force-check=1
What I already did was to create a simple Plugin that logs a string to the wordpress log when pre_set_site_transient_update_plugins
is called. Again on my Dev-system it works, but not Live. So I think it has something to do with the PHP configuration.
Does anyone has an idea which setting could prevent this filter from beeing executed?
<?php /** * Plugin Name: pre_set_site_transient_update_plugins test * Description: pre_set_site_transient_update_plugins test * Version: 0.1.1 */ add_filter( "pre_set_site_transient_update_plugins", "echo_test" ); function echo_test(){ error_log("pre_set_site_transient_update_plugins is triggered"); }