wp_dropdown_categories returns ID
-
Hi, I’m using wp_dropdown_categories in a form but it only returns ID.
I dont want IDs, I want names.$args = array( 'taxonomy' => 'product_category', 'hide_empty' => '0', 'orderby' => 'id', 'show_count' => '0', 'pad_counts' => '0', 'order' => 'desc', 'hierarchical' => '1', 'selected' => '0', 'name' => $name, 'show_option_none' => $select, 'class' => 'postform' ); wp_dropdown_categories($args);
What’s wrong with my code?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_dropdown_categories returns ID’ is closed to new replies.