do_action( 'delete_theme', string $stylesheet )

Fires immediately before a theme deletion attempt.


Parameters

$stylesheet

Stylesheet of the theme to delete.


Source

File: wp-admin/includes/theme.php

View on GitHub



Changelog

Changelog
Version Description
5.8.0 Introduced.