Created
April 8, 2016 19:09
-
-
Save almone/53bc14368e187e71ceada456af1f6f2a to your computer and use it in GitHub Desktop.
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 | |
// Stop TinyMCE cleaning HTML code | |
function myformatTinyMCE($in) { | |
$in['verify_html']=false; | |
return $in; | |
} | |
add_filter('tiny_mce_before_init', 'myformatTinyMCE' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment