Change the HTML output when using ACF
-
Hi,
Thanks for a great plugin. I have it working well with ACF however, rather than have the function output the html as:
<a href="javascript:DeCryptX('obfuscatedstring')">[email protected]</a>
I would like it to output as:
<a href="javascript:DeCryptX('obfuscatedstring')">contact</a>
My ACF field name is curc_student_contact and my current code looks like:
$encrypted_email = get_encryptx_meta( get_the_id(), 'curc_student_contact', true ); if ( $encrypted_email ) { echo $encrypted_email; }
I need to change the function in order to modify the output, but I don’t know how to do so. Any help would be greatly appreciated.
- The topic ‘Change the HTML output when using ACF’ is closed to new replies.