Skip to main content
6 events
when toggle format what by license comment
Sep 16 at 16:14 comment added mmm the part "my_domain.com" in the hook is the domain of the url in the header "Update URI".
Sep 16 at 14:38 comment added Toniq Actually my code from above linked tutorial is working now. I dont quite get this new hook. What is $hostname? my server url? because the code for update need to be present in my plugin and the plugin is installed on user computer(s) on any address.
Sep 16 at 11:36 comment added mmm of which click do you think ? about the use of the hook site_transient_update_plugins, there is a new hook you can use since version 5.8 : wordpress.stackexchange.com/questions/426518/…
Sep 16 at 7:54 comment added Toniq But will this work as this is no initiated with click? Wordpress core will use this download_url to download a plugin (on clients side) when its time to make an update.
Sep 15 at 19:51 comment added mmm you can use a unique key in the url to identify that the download is allowed. and then on the provider domain, you test if the key is valid, you start the download (look here) and you deny all further download with this key.
Sep 15 at 16:19 history asked Toniq CC BY-SA 4.0