📜  elementor 仪表板删除代码 - 任何代码示例

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

代码示例1
//function.php
function disable_elementor_dashboard_overview_widget() {
    remove_meta_box( 'e-dashboard-overview', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'disable_elementor_dashboard_overview_widget', 40);