WooCommerce product categories widget show current children only

Put this snippet in your functions.php to display only children of current category in Woocommerce product categories widget.

 

Code Snippets
Previous Post
Stop User Enumeration
Next Post
Get term tree level
Menu