wp_list_categories хук-фильтр . WP 2.1.0
Filters the HTML output of a taxonomy list.
Использование
add_filter( 'wp_list_categories', 'filter_function_name_6723', 10, 2 ); function filter_function_name_6723( $output, $args ){ // filter... return $output; }
- $output(строка)
- HTML output.
- $args(массив)
- An array of taxonomy-listing arguments.
Список изменений
С версии 2.1.0 | Введена. |
Где вызывается хук
wp_list_categories
wp-includes/category-template.php 666
$html = apply_filters( 'wp_list_categories', $output, $args );