Action hook 'deleted_theme'

in WP Core File wp-admin/includes/theme.php at line 98

Description

Fires immediately after a theme deletion attempt.

Occurrences

Filename Line Number
wp-admin/includes/theme.php 98

Parameters

Type Name Description
string $stylesheet Stylesheet of the theme to delete.
bool $deleted Whether the theme deletion was successful.

PHP Doc

/**
	 * Fires immediately after a theme deletion attempt.
	 *
	 * @since 5.8.0
	 *
	 * @param string $stylesheet Stylesheet of the theme to delete.
	 * @param bool   $deleted    Whether the theme deletion was successful.
	 */