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



term_links-{$taxonomy} ›

Desde2.5.0
Obsoleton/a
apply_filters( "term_links-{$taxonomy}", $links )
Parâmetros:
  • (string[]) $links An array of term links.
    Required: Yes
Definido em:
Codex:

Filters the term links for a given taxonomy.

The dynamic portion of the filter name, $taxonomy, refers to the taxonomy slug.





Fonte

$term_links = apply_filters( "term_links-{$taxonomy}", $links );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores