Inventory_Presser_Taxonomies::get_term_slug( string $taxonomy_name, int $post_id )
Given taxonomy and post ID, find the term with a relationship to the post and return its slug.
Contents
Parameters Parameters
- $taxonomy_name
-
(Required) A taxonomy name
- $post_id
-
(Required) A Post ID
Return Return
(string) A term slug
Source Source
File: includes/class-taxonomies.php
Expand full source code Collapse full source code View on Github