how to delete a theme code example
Example: Remove theme update
function custom_remove_dashboard_widgets() {
remove_meta_box('themify_news', 'dashboard', 'normal'); //Themify News
remove_meta_box('themify_updates', 'dashboard', 'normal'); //Themify Updates
}
add_action('admin_init', 'custom_remove_dashboard_widgets');