This code registers a taxonomy called “block-category” for the ‘block’ post type. The taxonomy’s label is set to “Block Categories” and the slug is set to “block-category”. It is set to be hierarchical, allowing for a nested structure of terms.
Was this code snippet helpful?
YesNo