¡Hola, amigos! I’m Señor FAQ, the mustached maestro of questions and answers! With my trusty glasses and a book of endless wisdom, I turn dudas into solutions. Soy el héroe de los curiosos and the champion of clarity.
JScms_encode_email
The JScms_encode_email
function encodes an email address into its HTML entity representation.
This obfuscates the email to reduce spam while keeping it readable for browsers.
JScms_encode_email($e)
$e
: (string) The email address to encode.(string) The HTML entity-encoded email address.
<?php
$email = "test@example.com";
$encodedEmail = JScms_encode_email($email);
echo $encodedEmail; // Outputs: encoded_email
?>