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

Fires immediately after a theme deletion attempt.


Parameters

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

Top ↑

Source

File: wp-admin/includes/theme.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes

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