Encodes each character of the given string as either a decimal or hexadecimal entity, in the hopes of foiling most email address harvesting bots.


  • Full name: cms_encode_email_str
  • Defined in: cms/core/Shared/Helpers/hook.php

Parameters

Parameter Type Description
$string string Text with email addresses to encode

Return Value

string

$string Given text with encoded email addresses