diff --git a/functions.php b/functions.php index c0dd789..b8dcd71 100644 --- a/functions.php +++ b/functions.php @@ -718,3 +718,8 @@ function display_companies() { add_action( 'wp_ajax_display_companies', 'display_companies' ); add_action( 'wp_ajax_nopriv_display_companies', 'display_companies' ); +// allow html in category and taxonomy descriptions +remove_filter( 'pre_term_description', 'wp_filter_kses' ); +remove_filter( 'pre_link_description', 'wp_filter_kses' ); +remove_filter( 'pre_link_notes', 'wp_filter_kses' ); +remove_filter( 'term_description', 'wp_kses_data' );