Created
June 23, 2017 13:06
-
-
Save vishalck/4ad896ce2cbb38c363365dcf5507f84f to your computer and use it in GitHub Desktop.
Hide count of Processing orders from WooCommerce Orders menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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