Last active
February 27, 2017 15:40
-
-
Save jmarreros/83bd390a2ac5600bf6c31e358aca3530 to your computer and use it in GitHub Desktop.
Para colocar código html en la descripción de categoría
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Unfilter Description | |
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' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment