Title: define3d's Replies | WordPress.org

---

# define3d

  [  ](https://wordpress.org/support/users/define3d/)

 *   [Profile](https://wordpress.org/support/users/define3d/)
 *   [Topics Started](https://wordpress.org/support/users/define3d/topics/)
 *   [Replies Created](https://wordpress.org/support/users/define3d/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/define3d/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/define3d/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/define3d/engagements/)
 *   [Favorites](https://wordpress.org/support/users/define3d/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] [Plugin: WordPress Download Monitor] Hide Dashboard Widget](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-hide-dashboard-widget/)
 *  Thread Starter [define3d](https://wordpress.org/support/users/define3d/)
 * (@define3d)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-hide-dashboard-widget/#post-1639062)
 * I’ve figured it out. We need to add following lines to the functions.php file–
   >
 * function remove_dashboard_widgets() {
 * global $wp_meta_boxes;
 * unset($wp_meta_boxes[‘dashboard’][‘normal’][‘core’][‘dlm_download_stats_widget’]);
   
   unset($wp_meta_boxes[‘dashboard’][‘normal’][‘core’][‘dlm_download_top_widget’]);
 * }
 * if (!current_user_can(‘manage_options’)) {
    add_action(‘wp_dashboard_setup’, ‘
   remove_dashboard_widgets’ ); } ?>
 * 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[wordTube] [Plugin: wordTube] Hide Dashboard Widget](https://wordpress.org/support/topic/plugin-wordtube-hide-dashboard-widget/)
 *  Thread Starter [define3d](https://wordpress.org/support/users/define3d/)
 * (@define3d)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordtube-hide-dashboard-widget/#post-1639061)
 * I’ve figured it out. We need to add following lines to the functions.php file–
   >
 * function remove_dashboard_widgets() {
 * global $wp_meta_boxes;
 * unset($wp_meta_boxes[‘dashboard’][‘normal’][‘core’][‘wt_dashboard_statistics’]);
 * }
 * if (!current_user_can(‘manage_options’)) {
    add_action(‘wp_dashboard_setup’, ‘
   remove_dashboard_widgets’ ); } ?>
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[wordTube] [Plugin: wordTube] Wordtube – Hide from Dashboard](https://wordpress.org/support/topic/plugin-wordtube-wordtube-hide-from-dashboard/)
 *  [define3d](https://wordpress.org/support/users/define3d/)
 * (@define3d)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordtube-wordtube-hide-from-dashboard/#post-1637090)
 * You need to add following lines to your functions.php file –>
 * function remove_dashboard_widgets() {
 * global $wp_meta_boxes;
 * unset($wp_meta_boxes[‘dashboard’][‘normal’][‘core’][‘wt_dashboard_statistics’]);
 * }
 * if (!current_user_can(‘manage_options’)) {
    add_action(‘wp_dashboard_setup’, ‘
   remove_dashboard_widgets’ ); } ?>
 * Hope that helps 🙂

Viewing 3 replies - 1 through 3 (of 3 total)