apply_filters( 'the_category', string $thelist, string $separator, string $parents )

Filters the category or list of categories.

Parameters Parameters


(string) List of categories for the current post.


(string) Separator used between the categories.


(string) How to display the category parents. Accepts 'multiple', 'single', or empty.

Top ↑

Source Source

File: wp-includes/category-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.