[Fix] Conflict post_type product
-
Hi,
I’ve been using this plugin for one of my sites, and after the last updates I could use it on my custom post type “product”.
It seems you’re checking this because of woocommerce.
I’ve fixed it for myself by checking it like this:$is_woocommerce_product = ($post_type == 'product' && class_exists('Woocommerce'));and using that variable instead of “product” == $post_type.
Can you “fix” this in the next release?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Fix] Conflict post_type product’ is closed to new replies.