📜  删除主题更新 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:36.033000             🧑  作者: Mango

代码示例1
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');