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.


Top ↑

Return Return

(void)


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.0Introduced.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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