'wpaf_coupon_vendor' ) ); $wpaf_term_field_name = 'wpaf_vendor'; $wpaf_category_menu_title = 'Vendors'; $wpaf_js_data_tax_name = 'data-vendor'; } else { $terms = get_terms( array( 'taxonomy' => 'wpaf_coupon_category' ) ); $wpaf_term_field_name = 'wpaf_category'; $wpaf_category_menu_title = 'Categories'; $wpaf_js_data_tax_name = 'data-category'; } if ( !empty( $terms ) && !is_wp_error( $terms ) && !$disable_menu ): $current_url_final = wpaf_preparationMenuLinks( $wpaf_term_field_name ); $current_url_final_all = $current_url_final['all']; $current_url_final_sin = $current_url_final['sin']; ?>