works as advertised
-
it’s just a small snippit of code. i wrapped it in a filter and added it to my functions.php file. Works just as well.
function sb_allow_category_desc_html() { foreach ( array( 'pre_term_description', 'pre_link_description', 'pre_link_notes', 'pre_user_description' ) as $filter ) { remove_filter( $filter, 'wp_filter_kses' ); } foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) { remove_filter( $filter, 'wp_kses_data' ); } } add_action( 'init', 'sb_allow_category_desc_html' );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘works as advertised’ is closed to new replies.