Change how phone numbers are formated. Param 1 is $r, the formatted phone number. Param 2 is $phone, the original phone number
apply_filters('pmpro_format_phone', $r, $phone); |
Parameters
- $formatted
- string
- $original
- string
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php
View in Source CodeRelated Articles and Recipes
How to format the member phone number field using a filter. By Travis Lima