Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_term_link ›

Desde4.9.0
Obsoleton/a
apply_filters( 'pre_term_link', $termlink, $term )
Parâmetros: (2)
  • (string) $termlink The permalink structure for the term's taxonomy.
    Required: Yes
  • (WP_Term) $term The term object.
    Required: Yes
Definido em:
Codex:

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





Fonte

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