A WordPress-centric search engine for devs and theme authors



category_description ›

Since1.2.0
Deprecatedn/a
apply_filters( 'category_description', $category->description, $category )
Parameters: (2)
  • (string) $description Category description.
    Required: Yes
  • (object) $category Category object.
    Required: Yes
Defined at:
Codex:

Filters the category description for display.





Source

$link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"';