Function __global->mask_phone_number
Definitions
sources/crypt.php
- Replace most characters in a phone number with the @ symbol.Since phone numbers can be saved in a wide variety of formats depending on the country, it can be difficult to mask phone numbers.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$phone_number | SHORT_TEXT | required parameter | N/A | N/A | The phone number to mask |
Return
- The masked phone number
- Type: SHORT_TEXT
- Set: N/A
- Range: N/A