Skip to content

Commit

Permalink
remove woocommerce status dashboard
Browse files Browse the repository at this point in the history
fixes #16
  • Loading branch information
jkudish committed Aug 13, 2016
1 parent 724fe50 commit 72160a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inc/wc-hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ function shopify_wc_connect_product_columns( $columns ) {
return $columns;
}

add_action( 'wp_dashboard_setup', 'shopify_wc_connect_remove_dashboard_widget' );
function shopify_wc_connect_remove_dashboard_widget() {
remove_meta_box( 'woocommerce_dashboard_status', 'dashboard', 'side' );
}

add_filter( 'wc_tax_enabled', '__return_false' );
add_filter( 'wc_product_weight_enabled', '__return_false' );
add_filter( 'wc_product_dimensions_enabled', '__return_false' );
Expand Down

0 comments on commit 72160a3

Please sign in to comment.