wp_list_categories WordPress Filter Hook
The wp_list_categories hook is a great way to display a list of categories on your WordPress site. This hook can be used in your theme's sidebar, header, or footer, or anywhere else you want to display a list of categories.
apply_filters( 'wp_list_categories', string $output , array|string $args ) #
Filters the HTML output of a taxonomy list.
Parameters
- $output
(string)HTML output.
- $args
(array|string)An array or query string of taxonomy-listing arguments. See wp_list_categories() for information on accepted arguments.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |