function venedor_save_product_cat($term_id, $tt_id, $taxonomy) { if (!$term_id) { return; } global $product_cat_meta_boxes; venedor_product_get_postdata(); return venedor_save_taxdata($term_id, $tt_id, $taxonomy, $product_cat_meta_boxes); }
function venedor_save_category($term_id, $tt_id, $taxonomy) { if (!$term_id) { return; } global $category_meta_boxes; venedor_post_get_postdata(); return venedor_save_taxdata($term_id, $tt_id, $taxonomy, $category_meta_boxes); }