Inventory_Presser_Plugin::change_term_links( string $termlink, object $term )
Change links to terms in our taxonomies to include /inventory before /tax/term.
Contents
Parameters Parameters
- $termlink
-
(Required) URL to modify.
- $term
-
(Required) An instance of the WP_Term class.
Return Return
(string) A modified term link that has our post type slug prepended.
Source Source
File: inventory-presser.php
Expand full source code Collapse full source code View on Github