Created
June 28, 2016 22:47
-
-
Save pixelcoder/35c33e547ac0abb7180ff98780de2e44 to your computer and use it in GitHub Desktop.
BuddyPress: Disable TinyMce on front
This file contains hidden or 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
# Disable TINYMCE on XPROFILE | |
function antipole_remove_rich_text() { | |
return false; | |
} | |
add_filter('bp_xprofile_is_richtext_enabled_for_field', 'antipole_remove_rich_text'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment