Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37951 closed enhancement (duplicate)

Theme deletion hook

Reported by: vetyst's profile vetyst Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: General Keywords:
Focuses: Cc:


I require a hook on theme deletion for administrative purpose on multiple wordpress installations in the feature.

This hook is similair too the deleted_plugin hook located in wp-admin/includes/plugin.php

Attachments (1)

37951.patch (785 bytes) - added by vetyst 8 years ago.
deleted_theme hook

Download all attachments as: .zip

Change History (2)

8 years ago

deleted_theme hook

#1 @swissspidy
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hey there,

Thanks for your report! This his has come up before, see #16401 and #14955. I'm therefore closing this as a duplicate.

Feel free to mention your use case and upload your patch there. Note that you might want to change the version in the hook docs to 4.7.0 as we usually do not introduce new hooks in minor releases.

Note: See TracTickets for help on using tickets.