Filtering the content of this plugin
-
Hi, I’m using Widget Blocks on my site to create a couple of widgets in my footer area, which contain ‘mailto’ email links.
I’m also using the Email Address Encoder plugin which encodes email addresses in posts and pages into decimal and hexadecimal entities, in order to protect them from being harvested by spambots.
However, that plugin isn’t able to directly filter and encode email addresses that appear in widgets (apart from the standard Text Widget).
Fortunately that plugin does provide a filter which can be used to encode the email addresses in such widgets, using an “add_filter” command which I believe would go into the functions.php file. This is explained on the FAQ page of that plugin: http://wordpress.org/plugins/email-address-encoder/faq/
So my question here is: does Widget Blocks support WordPress filters as described on that FAQ page, such that I could use the filter to encode email addresses in the widgets?
If so, would you be able to help me figure out how to write such a filter, which I could put in my functions.php? I think all the relevant info is on the FAQ page of the other plugin.
Thanks!
- The topic ‘Filtering the content of this plugin’ is closed to new replies.