do_action( ‘deleted_theme’, string $stylesheet, bool $deleted )

In this article

Fires immediately after a theme deletion attempt.

Parameters

$stylesheetstring
Stylesheet of the theme to delete.
$deletedbool
Whether the theme deletion was successful.

Source

do_action( 'deleted_theme', $stylesheet, $deleted );

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.