Bird
0
0

What does the hierarchical argument control when registering a custom taxonomy in WordPress?

easy📝 Conceptual Q1 of 15
Wordpress - Custom Post Types and Taxonomies
What does the hierarchical argument control when registering a custom taxonomy in WordPress?
AThe number of terms allowed in the taxonomy
BWhether the taxonomy behaves like categories (true) or tags (false)
CThe visibility of the taxonomy in the admin menu
DThe default sorting order of taxonomy terms
Step-by-Step Solution
Solution:
  1. Step 1: Understand the hierarchical argument

    This argument defines if the taxonomy acts like categories (which can have parent-child relationships) or tags (which are flat).
  2. Step 2: Match behavior to argument value

    If hierarchical is true, taxonomy behaves like categories; if false, like tags.
  3. Final Answer:

    Whether the taxonomy behaves like categories (true) or tags (false) -> Option B
  4. Quick Check:

    hierarchical argument = taxonomy behavior type [OK]
Quick Trick: Hierarchical true means category style, false means tag style [OK]
Common Mistakes:
  • Confusing hierarchical with visibility
  • Thinking it controls term count
  • Assuming it sets sorting order

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes