Add Custom Taxonomy – Single Vendor Taxonomy

/** * Add the custom taxonomy to the WC Vendors Pro dashboard. * */ function wcv_add_brands_field( $object_id ){ WCVendors_Pro_Form_helper::select2( array( ‘post_id’ => $object_id, ‘id’ => ‘_wcv_custom_taxonomy_wcv_brands[]’, ‘class’ => ‘select2’, ‘custom_tax’ => true, ‘label’ => __( ‘Brand’, ‘wcvendors-pro’ ), ‘taxonomy’ =>…Continue reading