WordPress at Your Fingertips
action is not described

delete_theme action-hook . WP 5.8.0

Fires immediately before a theme deletion attempt.

Usage

add_action( 'delete_theme', 'action_function_name_8095' );
function action_function_name_8095( $stylesheet ){
	// action...
}
$stylesheet(string)
Stylesheet of the theme to delete.

Changelog

Since 5.8.0 Introduced.

Where the hook is called

delete_theme()
delete_theme
wp-admin/includes/theme.php 82
do_action( 'delete_theme', $stylesheet );

Where in WP core the hook is used WordPress

Usage not found.