New answers tagged advanced-taxonomy-queries
0
fo some reason the way I first tried didn't quite work, no products were assigned to attribute, however after checking code and testing again it did :)
wp_remove_object_terms ( $product_id,'in-stock', 'pa_stock' );
Top 50 recent answers are included
Related Tags
advanced-taxonomy-queries × 195custom-taxonomy × 107
taxonomy × 55
wp-query × 51
custom-post-types × 43
multi-taxonomy-query × 25
terms × 22
tax-query × 22
advanced-custom-fields × 20
query × 10
custom-field × 9
loop × 9
categories × 7
wpdb × 7
pre-get-posts × 7
woocommerce-offtopic × 7
plugins × 6
tags × 6
php × 5
posts × 5
search × 5
shortcode × 4
mysql × 4
custom-post-type-archives × 4
plugin-development × 3