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.


Top ↑

Return Return

(void)


Top ↑

Changelog Changelog

Changelog
VersionDescription
0.6.0Introduced.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.