Created
June 19, 2017 07:00
-
-
Save jasperf/deaabb120a76d77f46ef6346a1c58578 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function is_product_category( $term = '' ) { | |
return is_tax( 'product_cat', $term ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment