When save a term which is a child term, if I don’t provide specific parent id, will WP make this term’s parent 0 ?
Leave a Reply
You must be logged in to post a comment.
When save a term which is a child term, if I don’t provide specific parent id, will WP make this term’s parent 0 ?
You must be logged in to post a comment.
When you create a term for a hierarchical taxonomy, if you don’t specify a parent, its parent ID is set to 0. In other words, it becomes a parent term.
Edited with regards to comments: