# Disable the setup dashboard widget in WooCommerce

**URL:** <https://community.mainwp.com/t/disable-the-setup-dashboard-widget-in-woocommerce/3803>\
**Category:** Code Snippets\
**Tags:** wordpress, woocommerce\
**Created:** [September 24, 2021, 4:08am UTC](https://community.mainwp.com/t/disable-the-setup-dashboard-widget-in-woocommerce/3803 "2021-09-24T04:08:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian-moran](https://community.mainwp.com/user_avatar/community.mainwp.com/sebastian-moran/32/16_2.png) [@sebastian-moran](https://community.mainwp.com/u/sebastian-moran)\
**Post date:** [September 24, 2021, 4:08am UTC](https://community.mainwp.com/t/disable-the-setup-dashboard-widget-in-woocommerce/3803/1 "2021-09-24T04:08:03Z")

</div>

Disable the setup dashboard widget in WooCommerce on child sites.

**Snippet Type**

`Execute on Child Sites`

**Snippet**

```auto
// Disable setup widget in WooCommerce
function disable_woocommerce_setup_remove_dashboard_widgets() {
	remove_meta_box( 'wc_admin_dashboard_setup', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'disable_woocommerce_setup_remove_dashboard_widgets', 40);

```

---

<div class="post-metadata">

**Author:** ![system](https://community.mainwp.com/uploads/default/original/2X/4/4cfc87ac67e4ebdbfa0bbf0b19c8657f35a29a5b.png) [@system](https://community.mainwp.com/u/system)\
**Post date:** [October 24, 2021, 4:08am UTC](https://community.mainwp.com/t/disable-the-setup-dashboard-widget-in-woocommerce/3803/2 "2021-10-24T04:08:38Z")

</div>

Closed on October 24, 2021, 4:08am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
