deleted_theme, $stylesheet, $deleted
deleted_theme, $stylesheet, $deleted
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('deleted_theme, $stylesheet, $deleted') is found 1 times:
- /wp-admin/includes/theme.php line 98
* * @param string $stylesheet Stylesheet of the theme to delete. * @param bool $deleted Whether the theme deletion was successful. */ do_action( 'deleted_theme', $stylesheet, $deleted ); if ( ! $deleted ) { return new WP_Error( 'could_not_remove_theme', /* translators: %s: Theme name. */ sprintf( __( 'Could not fully remove the theme %s.' ), $stylesheet )