Buddupress remove rich text from profile text area field
// O arquivo bp-custom deve estar localizado na pasta plugins
function antipole_remove_rich_text( $field_id = null ) {
if ( ! $field_id ) {
$field_id = bp_get_the_profile_field_id( '3' );
}
$field = xprofile_get_field( $field_id );
if ( $field ) {
$enabled = false;
}
}
add_filter( 'bp_xprofile_is_richtext_enabled_for_field', 'antipole_remove_rich_text' );