test
This commit is contained in:
@@ -47,7 +47,7 @@ class Wiaas_Product_Category {
|
||||
|
||||
foreach (self::$available_product_categories as $key => $available_product_category) {
|
||||
if (! has_term_meta($key)) {
|
||||
wp_insert_term($key, 'product_cat');
|
||||
wp_update_term($key, 'product_cat');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user