[wp-trac] [WordPress Trac] #50674: Plugin and Theme Update Hooks
WordPress Trac
noreply at wordpress.org
Wed Jul 15 22:59:07 UTC 2020
#50674: Plugin and Theme Update Hooks
-----------------------------+------------------------------
Reporter: davidbaumwald | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+------------------------------
Comment (by pbiron):
@davidbaumwald `WP_Upgrader` and `WP_Automatic_Upgrader` already have a
number of hooks like that, e.g.
* [https://developer.wordpress.org/reference/hooks/upgrader_pre_install/
upgrader_pre_install]
* [https://developer.wordpress.org/reference/hooks/pre_auto_update/
pre_auto_update]
*
[https://developer.wordpress.org/reference/hooks/upgrader_process_complete/
upgrader_process_complete]
* [https://developer.wordpress.org/reference/hooks/upgrader_post_install/
upgrader_post_install]
Do you specific use cases that those don't cover?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50674#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list