• Hi!

    In default-filters.php there is a Filter on the category-description that removes some HTML-Tags I like to keep.

    So I try to do
    remove_filter('pre_category_description', 'wp_filter_kses');
    inside my Plugin-File

    But this doesn’t work. I also tried adding priorities like 1, 10 and 30 like kackreiz suggested but this doesnt help.

    I get the feeling the remove-mechanism does not work at all since all problems are solved when I uncomment the add_filter-line inside default-filters.php. A solution I dont like so much…

    Is someone able to use the line of code above in his wordpress?
    Whats wrong on my side?

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter Tobias Jordans

    (@tobias)

    Problem solved: remove_filter does work only if its called out of a plugin-file.
    It does not work in some wp-admin-folder-file… (it just does nothing there, no error, no msg).

Viewing 1 replies (of 1 total)
  • The topic ‘remove_filter doesnt work’ is closed to new replies.