/ Published in: PHP
Dump it in your functions file and stare at the amazing blank page when you log in!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function remove_dashboard_widgets() { global $wp_meta_boxes; } if (!current_user_can('manage_options')) { add_action('wp_dashboard_setup', 'remove_dashboard_widgets' ); }