Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getshorty($notshort , $howshort) {
- $shorter = mb_substr($notshort, 0, $howshort, "UTF-8");
- return $shorter;
- }
- <?php echo getshorty(bp_member_profile_data('field=Short Bio'),140); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement