The What
Description
This construct (function) checks if the given post type is hierarchical. This argument is set when the post type is first configured and registered with WordPress Core.
Parameters
post_type_key
- The post type’s key (slug) to specify which post type is being checked.
Return Values
If the post type exists, then it returns the value of hierarchical
, which is a boolean. Else, false
is returned.
If you listen carefully, you can hear the 1s and 0s flowing in your computer.
More coming soon…keep checking back.