category_description

category_description

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('category_description') is found 1 times:

  • /wp-includes/class-walker-category.php line 125
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
         *
         * @param string  $description Category description.
         * @param WP_Term $category    Category object.
         */
        $atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) );
    }
     
    /**
     * Filters the HTML attributes applied to a category list item's anchor element.
     *
     * @since 5.2.0

See this hook used in plugins: