Title: Dashboard Widget
Last modified: August 20, 2016

---

# Dashboard Widget

 *  Resolved [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/dashboard-widget/)
 * Would like to see the dashboard widget only available to user who ‘manage_options’
   at the very least.
 * I don’t need my customers to see my email statistics.
 * [http://wordpress.org/extend/plugins/wpmandrill/](http://wordpress.org/extend/plugins/wpmandrill/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/dashboard-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dashboard-widget/page/2/?output_format=md)

 *  Thread Starter [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248259)
 * For the time being I have implemented this code in my core plugin:
 *     ```
       function extendd_dot_com_remove_wpmandrill_dashboard() {
       	if ( class_exists( 'wpMandrill' ) ) {
       		remove_action( 'wp_dashboard_setup', array( 'wpMandrill' , 'addDashboardWidgets' ) );
       		if ( current_user_can( 'manage_options' ) ) {
       			add_action( 'wp_dashboard_setup', array( 'wpMandrill' , 'addDashboardWidgets' ) );
       		}
       	}
       }
       add_action( 'admin_init', 'extendd_dot_com_remove_wpmandrill_dashboard' );
       ```
   
 * It removed the dashboard widget for users that can’t `manage_options`
 *  [willcast](https://wordpress.org/support/users/willcast/)
 * (@willcast)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248261)
 * Hey.
 * Thanks for the suggestion. That will be included in the next release.
 *  [Ian Anderson Gray](https://wordpress.org/support/users/baritoneuk/)
 * (@baritoneuk)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248365)
 * I am a bit of a minimalist, so I’d love the option of whether or not to show 
   the dashboard widget. Would this be possible to add in WPMandrill settings?
 *  Thread Starter [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248366)
 * [@baritoneuk](https://wordpress.org/support/users/baritoneuk/) Go up to your 
   screen options and unckeck Mandrill.
 *  [Ian Anderson Gray](https://wordpress.org/support/users/baritoneuk/)
 * (@baritoneuk)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248367)
 * Screen options only gets rid of the dashboard for the current user. When I build
   WordPress websites for clients I want to make sure the dashboard is as free as
   possible from clutter. The majority in fact probably all of our clients aren’t
   going to want to see the Mandrill dashboard widget. The problem with the screen
   options feature in WordPress is that it relies on the user knowing that it exists
   and then deselecting the widgets.
 * My view is that plugins should always have an option as to whether you want the
   dashboard widget displayed or not. I’m glad to see that Yoast saw the light last
   year- [http://yoast.com/wordpress-dashboard-widgets/](http://yoast.com/wordpress-dashboard-widgets/)
 *  Thread Starter [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248368)
 * Use my function above to remove it.
 *  [Ian Anderson Gray](https://wordpress.org/support/users/baritoneuk/)
 * (@baritoneuk)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248369)
 * Ah, just realised it was you who provided the code and I had forgotten to thank
   you!
 * I added the code yesterday and my dashboard has been returned to blissful minimalism!
   🙂
 *  [Ian Anderson Gray](https://wordpress.org/support/users/baritoneuk/)
 * (@baritoneuk)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248370)
 * Still forgot to thank you…
 * Thanks!
 *  Thread Starter [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248371)
 * 🙂
 *  [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248372)
 * Would it be possible to restrict the widget to only show stats for the API key
   used on that blog and not for the whole Mandrill account?
 *  Plugin Author [MC_Will](https://wordpress.org/support/users/mc_will/)
 * (@mc_will)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248374)
 * [@ovidiu](https://wordpress.org/support/users/ovidiu/): Sorry, It’s not possible
   at the moment.
 *  [Ian Anderson Gray](https://wordpress.org/support/users/baritoneuk/)
 * (@baritoneuk)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248375)
 * [@mc_will](https://wordpress.org/support/users/mc_will/) – any thoughts on making
   the dashboard widget optional or at least having an option to switch it off?
 *  Plugin Author [MC_Will](https://wordpress.org/support/users/mc_will/)
 * (@mc_will)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248376)
 * Yes Sir!
 * In the meantime you can use Austin’s hack.
 *  [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248377)
 * [@mc_will](https://wordpress.org/support/users/mc_will/): so I’ll have to create
   an account for each WP site I manage? I thought I’d use one Mandrill account 
   for all and then probably have to upgrade from the free service to the paid tier.
   
   So do you plan on making this option available sometime in the future or do you
   suggest I go and get a Mandrill account for each site?
 *  Plugin Author [MC_Will](https://wordpress.org/support/users/mc_will/)
 * (@mc_will)
 * [13 years ago](https://wordpress.org/support/topic/dashboard-widget/#post-3248378)
 * Right now, there’s no way we can filter by API key, not in the plugin but in 
   our API.
 * I’ve added this request to our road map but I don’t know if it will be available
   anytime soon.
 * I’ll keep this thread updated.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/dashboard-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dashboard-widget/page/2/?output_format=md)

The topic ‘Dashboard Widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpmandrill_171717.svg)
 * [wpMandrill](https://wordpress.org/plugins/wpmandrill/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpmandrill/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpmandrill/)
 * [Active Topics](https://wordpress.org/support/plugin/wpmandrill/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpmandrill/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpmandrill/reviews/)

 * 16 replies
 * 5 participants
 * Last reply from: [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/dashboard-widget/page/2/#post-3248379)
 * Status: resolved