9 | | 1. Update plugin header directive to use `Update URI: https://domain.tld` |
10 | | 2. Either hook into `update_plugins_{hostname}` and pass a `version` higher than your currently installed one, or |
11 | | 2a. Hook into `pre_set_site_transient_update_plugins` and pass a new `new_version` higher than your currently installed one |
12 | | 3. Of course make sure you do actually have a remote update |
| 9 | - Update plugin header directive to use `Update URI: https://domain.tld` |
| 10 | - Either hook into `update_plugins_{hostname}` and pass a version higher than your currently installed one, **or** |
| 11 | - Hook into `pre_set_site_transient_update_plugins` and pass a new `new_version` higher than your currently installed one |
| 12 | |
| 13 | Of course make sure you do actually have a remote update to be shown. |
15 | | All this makes the Update URI pretty much dysfunctional (in the sense that it is not really useful at all) and the developer still needs to manually filter the ThickBox content for the "View update details" or even for the "Plugin details" |
16 | | And the documentation about all this is either inexistent or very limited (opened a separate issue about ''that'' [here |
| 16 | All this makes the `Update URI` pretty much dysfunctional (in the sense that it is not really useful at all) and the developer still needs to manually filter the ThickBox content for the "View update details" or even for the "Plugin details". |
| 17 | And the documentation about all this is either inexistent or very limited (opened a separate issue about that [https://github.com/WordPress/Documentation-Issue-Tracker/issues/1194 here] |
| 18 | |
| 19 | IMO, passing a custom Update URI should completely unhook all Callisto the WP Org Api and either not allow to "view details" at all, or at least provide some ways to populate that window with custom details (or at least read from the plugin data, which it does not: it reads from remote). |