Breadcrumb_Trail::do_post_hierarchy( int $post_id )
Adds a specific post’s hierarchy to the items array. The hierarchy is determined by post type’s rewrite arguments and whether it has an archive page.
Package
Description Description
Parameters Parameters
- $post_id
(int) (Required) The ID of the post to get the hierarchy for.
Return Return
(void)
Changelog Changelog
Version | Description |
---|---|
0.6.0 | Introduced. |