On this page
do_action( 'delete_theme', string $stylesheet )
Fires immediately before a theme deletion attempt.
Parameters
$stylesheetstring-
Stylesheet of the theme to delete.
Source
File: wp-admin/includes/theme.php. View all references
do_action( 'delete_theme', $stylesheet );
Related
Used By
| Used By | Description |
|---|---|
| delete_theme() wp-admin/includes/theme.php | Removes a theme. |
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_theme