/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Create the function to use in the action hook function example_remove_dashboard_widgets() { // Globalize the metaboxes array, this holds all the widgets for wp-admin global $wp_meta_boxes; // Remove the incomming links widget // Remove right now } // Hoook into the 'wp_dashboard_setup' action to register our function add_action('wp_dashboard_setup', 'example_remove_dashboard_widgets' );