Home / Admin / Empty Admin Dashboard
Duplicate Snippet

Embed Snippet on Your Site

Empty Admin Dashboard

Disable all dashboard widgets in the admin and the welcome panel.

300+
Code Preview
php
<?php
add_action( 'wp_dashboard_setup', function () {
	global $wp_meta_boxes;
	$wp_meta_boxes['dashboard'] = array();
	remove_action( 'welcome_panel', 'wp_welcome_panel' );
}, 1000 );

Comments

Add a Comment