returning a formatted phone number?
so i can make the custom field for “public phone number” display just fine… except, i’d prefer if it could be formatted like a phone number… eg. xxx-xxx-xxxx or (xxx) xxx-xxxx or something, rather than just xxxxxxxxxx…
any suggestions? i’m not a programmer, but i hack ok
i assume it would be some kind of argument on in here
?php echo bp_member_profile_data( 'field=Public Phone Number' ); ?>
&format=WHATEVERinside those ()’s?
would this be standard php i could find somewhere?
You must be logged in to reply to this topic.