Im trying to get my Budypress site to work with wp_editor on profile fields. So far everything is ok but my tags are being striped.
I added the following:
add_filter( 'xprofile_allowed_tags', 'custom_xprofile_allowed_tags' );
function custom_xprofile_allowed_tags($tags){
$tags['li'] = array();
$tags['ul'] = array(
'type' => true
);
return $tags;
}
But it still saving my profile field without <ul><li>
I know the filter is working because if i add unset($tags['strong']);
the strong tag is stripped.
Thanks for the help