what's up guys.
In front page i'd like to make 2 text form input's to new term to a taxonomy and discription to this term.
I've got a code to add a new term
wp_insert_term( 'Apple', // the term //Here i want value from input 'klient', // the taxonomy array( 'description' => 'A yummy apple.', //Here i want value from input 'slug' => 'apple', 'parent' => $parent_term_id, )
How can i do that? Plese help guys