Trying to display text in a block in a plugin page
EDIT 2: I come up with this kind of dirty solution, which is a function creating temporary array. It will contains the segment of the string you want to add line breaks to. Then we set it back as a string using implode. function breakLines($str,$line_length=30,$implodechar=”<br>”) { $str_length = strlen($str); $i=0; $o=0; $tmp = array();//temporary array … Read more