Inventory_Presser_Plugin::change_term_links( string $termlink, object $term )

Change links to terms in our taxonomies to include /inventory before /tax/term.


Parameters Parameters

$termlink

(Required) URL to modify.

$term

(Required) An instance of the WP_Term class.


Top ↑

Return Return

(string) A modified term link that has our post type slug prepended.


Top ↑

Source Source

File: inventory-presser.php