WordPress.org

Ready to get started?Download WordPress

Forums

Hikari Email & URL Obfuscator
[resolved] How to obfuscate custom fields (4 posts)

  1. romanczar
    Member
    Posted 4 years ago #

    Hi,

    I use a lot of custom fields in my pages and templates. The text in those fields might contain emails as well.

    I already have written a wrapper function to get the custom field value. I am now searching for a way to check the custom field content first before returning it in my function into my template.

    Does anyone have an idea of how I can do that? Which function do I need to call? How?

    Any help is much appreciated!

  2. romanczar
    Member
    Posted 4 years ago #

    Hm... anyone? I tried to call the "filter(...)" function in my function, but PHP tells me it doesn't know it. How can I access the functions in the plugin in my template files?

  3. shidouhikari
    Member
    Plugin Author

    Posted 4 years ago #

    Just see the tutorial at http://Hikari.ws/dev/wordpress/plugin/hikari-email-url-obfuscator/748/advanced-usage/#manual

    It has the code teaching how to filter any content you want :)

  4. romanczar
    Member
    Posted 3 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic