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



category_link › WordPress Filter Hooks

Since5.4.1
Deprecatedn/a
apply_filters( 'category_link', $termlink, $term->term_id )
Parameters: (2)
  • (string) $termlink Category link URL.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
Defined at:
Codex:

Filters the category link.





Source

$termlink = apply_filters( 'category_link', $termlink, $term->term_id );