function porto_save_portfolio_cat($term_id, $tt_id, $taxonomy) { if (!$term_id) { return; } global $portfolio_cat_meta_boxes; porto_post_get_postdata(); return porto_save_taxdata($term_id, $tt_id, $taxonomy, $portfolio_cat_meta_boxes); }
function porto_save_category($term_id, $tt_id, $taxonomy) { if (!$term_id) { return; } global $category_meta_boxes; porto_post_get_postdata(); return porto_save_taxdata($term_id, $tt_id, $taxonomy, $category_meta_boxes); }