do_action( 'delete_theme', string $stylesheet ) Fires immediately before a theme deletion attempt. ContentsParameters Source Related Used By Changelog User Contributed Notes Parameters $stylesheet (string) Stylesheet of the theme to delete. Top ↑Source File: wp-admin/includes/theme.php View on Trac Top ↑Related Top ↑Used By Used By Used By Description wp-admin/includes/theme.php: delete_theme() Removes a theme. Top ↑Changelog Changelog Version Description 5.8.0 Introduced. Top ↑User Contributed Notes You must log in before being able to contribute a note or feedback.