do_action( 'delete_theme', string $stylesheet )
Fires immediately before a theme deletion attempt.
Parameters
- $stylesheet
-
(string) Stylesheet of the theme to delete.
Source
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_theme