Inventory_Presser_Taxonomies::save_taxonomy_term( int $post_id, string $taxonomy_name, string $element_name )
Used by the save_post_{post_type} hook. Create a term relationship between a post and a term. Inserts the term first if it does not exist.
Parameters Parameters
- $post_id
-
(Required)
- $taxonomy_name
-
(Required)
- $element_name
-
(Required)
Return Return
(void)
Source Source
File: includes/class-taxonomies.php
Expand full source code Collapse full source code View on Github