A WordPress-centric search engine for devs and theme authors



category_link ›

Since1.5.0
Deprecated
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 );