wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



term_links-{$taxonomy} › Filtr WordPress Hooks

Od2.5.0
Przestarzałyn/a
› apply_filters( "term_links-{$taxonomy}", $links )
Parametry:
  • () links An array of term links.
    Wymagane: Tak
Zdefiniowane na:
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`




Źródło

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