[wp-trac] [WordPress Trac] #16401: Add hook to delete_theme() on successful delete
WordPress Trac
noreply at wordpress.org
Fri May 7 16:08:57 UTC 2021
#16401: Add hook to delete_theme() on successful delete
------------------------------+----------------------
Reporter: scottconnerly | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.8
Component: Themes | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* owner: (none) => desrosj
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"50826" 50826]:
{{{
#!CommitTicketReference repository="" revision="50826"
Themes: Introduce the `delete_theme` and `deleted_theme` action hooks.
This change introduces the `delete_theme` and `deleted_theme` action
hooks, which fire immediately before and after an attempt to delete a
theme, respectively.
Props scottconnerly, ptahdunbar, pbiron, vetyst, desrosj.
Fixes #16401.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16401#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list