apply_filters( 'the_category_list', WP_Term[] $categories, int|bool $post_id )

Filters the categories before building the category list.

Description Description

Parameters Parameters


(WP_Term[]) An array of the post's categories.


(int|bool) ID of the post we're retrieving categories for. When false, we assume the current post in the loop.

Top ↑

Source Source

File: wp-includes/category-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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