Breadcrumb_Trail::add_post_terms( int $post_id, string $taxonomy )
Adds a post’s terms from a specific taxonomy to the items array.
Package
Description Description
Parameters Parameters
- $post_id
(int) (Required) The ID of the post to get the terms for.
- $taxonomy
(string) (Required) The taxonomy to get the terms from.
Return Return
(void)
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |