wp_list_categories

wp_list_categories

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_list_categories') is found 1 times:

  • /wp-includes/category-template.php line 681
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    * @param string       $output HTML output.
     * @param array|string $args   An array or query string of taxonomy-listing arguments. See
     *                             wp_list_categories() for information on accepted arguments.
     */
    $html = apply_filters( 'wp_list_categories', $output, $args );
     
    if ( $parsed_args['echo'] ) {
        echo $html;
    } else {
        return $html;
    }