do_action( 'deleted_theme', string $stylesheet, bool $deleted )

Fires immediately after a theme deletion attempt.

Parameters Parameters


(string) Stylesheet of the theme to delete.


(bool) Whether the theme deletion was successful.

Top ↑

Source Source

File: wp-admin/includes/theme.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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