WYSIWYG in BP Group description
-
Hi, does anyone knows how to include all fields from the WYSIWYG editor on the Group description?
I need <p>, <br> and heading tags which are not displayed.I have removed the filter via function.php to let me add those tags manually, but that’s not a solution.
if( bp_group_is_admin() || is_super_admin() ) { remove_filter( 'groups_group_description_before_save', 'wp_filter_kses', 1 ); remove_filter( 'bp_get_group_description', 'bp_groups_filter_kses', 1 ); // remove_filter( 'bp_get_the_topic_post_content', 'bp_forums_filter_kses', 1 ); }
WP: 4.9.6
BP: 3.1.0
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.