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.1

apply_filters('category_description') is found 1 times:

  • /wp-includes/class-walker-category.php line 125
    			 *
    			 * @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: