wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_term_link › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'pre_term_link', $termlink, $term )
Parameters: (2)
  • (string) $termlink The permalink structure for the term's taxonomy.
    Required: Yes
  • (WP_Term) $term The term object.
    Required: Yes
Defined at:
Codex:

Filters the permalink structure for a term before token replacement occurs.





Source

$termlink = apply_filters( 'pre_term_link', $termlink, $term );