Skip to content

Instantly share code, notes, and snippets.

@vishalck
Created June 23, 2017 13:06
Show Gist options
  • Save vishalck/4ad896ce2cbb38c363365dcf5507f84f to your computer and use it in GitHub Desktop.
Save vishalck/4ad896ce2cbb38c363365dcf5507f84f to your computer and use it in GitHub Desktop.
Hide count of Processing orders from WooCommerce Orders menu
<?php
add_filter( 'woocommerce_include_processing_order_count_in_menu', 'exclude_processing_order_count' );
function exclude_processing_order_count( $show ) {
$show = false;
return $show;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment