woogists
3/9/2018 - 6:09 PM

[WooCommerce Core] Allow HTML in term (category, tag) descriptions

[Frontend Snippets] Allow HTML in term (category, tag) descriptions

foreach ( array( 'pre_term_description' ) as $filter ) {
    remove_filter( $filter, 'wp_filter_kses' );
}
 
foreach ( array( 'term_description' ) as $filter ) {
    remove_filter( $filter, 'wp_kses_data' );
}