Custom tax term, not slug
-
I want to save the actual taxonomy term, not the slug for the term, from my taxonomy radio group and taxonomy multicheck boxes. It appears that CMB2 assigns the slug as the value for the value parameter of the radio button and check box elements, and thus the slug is the saved value to the database. Therefore, when I get_post_data, the result is the slug. I’d rather have the actual term and not have to write case/switch code to reformat the slugs Any suggestions?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Custom tax term, not slug’ is closed to new replies.