Function __global->obfuscate_email_address
Definitions
sources/crypt.php
- Obfuscate the given e-mail address.This function may want to be modified on a per-site basis, to stop spammers triggering onto the software's default method (possible some already do, although I think it unlikely they would go to this much effort/computation unless it was more widespread to do this).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| No | No | required parameter | N/A | N/A | The e-mail address to obfuscate |
Returns
- The obfuscated version
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Obfuscate the given e-mail address.This function may want to be modified on a per-site basis, to stop spammers triggering onto the software's default method (possible some already do, although I think it unlikely they would go to this much effort/computation unless it was more widespread to do this).
*
* @param EMAIL $email The e-mail address to obfuscate
* @return string The obfuscated version
*/
function obfuscate_email_address(string $email) : string
* Obfuscate the given e-mail address.This function may want to be modified on a per-site basis, to stop spammers triggering onto the software's default method (possible some already do, although I think it unlikely they would go to this much effort/computation unless it was more widespread to do this).
*
* @param EMAIL $email The e-mail address to obfuscate
* @return string The obfuscated version
*/
function obfuscate_email_address(string $email) : string

