Skip to:
Content
Pages
Categories
Search
Top
Bottom

returning a formatted phone number?


  • somethingelse
    Participant

    @somethingelse

    hi
    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' ); ?>
    something like &format=WHATEVER inside those ()’s?

    would this be standard php i could find somewhere?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘returning a formatted phone number?’ is closed to new replies.
Skip to toolbar