• I’m trying to allow HTML to be inputted in category descriptions, but WordPress seems to be stripping it out before storing in the database. I assume this is because of the pre_category_description filter, but I can’t seem to turn it off. I tried adding this code to my theme’s functions.php file, but it doesn’t work.

    remove_filter(category_description,pre_category_description);

    Am I putting it in the wrong place or is this the wrong filter?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Allowing HTML in category descriptions’ is closed to new replies.