wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



term_links-{$taxonomy} › Les Filtres WordPress

Depuis2.5.0
Dépréciéen/a
› apply_filters( "term_links-{$taxonomy}", $links )
Paramètres:
  • () links An array of term links.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the term links for a given taxonomy.

The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `term_links-category` - `term_links-post_tag` - `term_links-post_format`




Source

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