wpseek.com
A WordPress-centric search engine for devs and theme authors



delete_theme › WordPress Action Hooks

Since5.8.0
Deprecatedn/a
do_action( 'delete_theme', $stylesheet )
Parameters:
  • (string) $stylesheet Stylesheet of the theme to delete.
    Required: Yes
Defined at:
Codex:

Fires immediately before a theme deletion attempt.





Source

do_action( 'delete_theme', $stylesheet );