I am working on version 0.99 of FeedWordPress, which I hope to release sometime in the next couple weeks. One of the less obvious changes that I hope to accomplish to clean up the internal code, which has become a bit ugly and crufty over time. One thing that I would like to overhaul, if I can do so, is the way that FeedWordPress passes information to filters. But I am not yet sure whether or not I can safely do this. **That’s where you come in.**
FeedWordPress allows you to write filters that can transform, filter out, or take actions in response to, new posts coming in. Since these filters are written in PHP, the mechanism is extraordinarily flexible if you know how to use it, but judging from the e-mail I get most people don’t yet know how to use it. (That’s something I hope to address in the future with some example scripts and better documentation. But one thing a time.)
So, here are the questions. Feel free to answer them as you see fit in the comments section or by e-mail.
1. Do you use PHP filters together with FeedWordPress (e.g. `syndicated_item` or `syndicated_post` fliters)?
2. If you do, then what do those filters do?
3. Do your filters rely on any information from the global variables `$fwp_channel` or `$fwp_feedmeta`?
4. What versions of WordPress and FeedWordPress are you using?
Answers will help me make an informed decision about what to do with FeedWordPress’s handling of filters, which will hopefully maximize benefits while minimizing headaches. Let me know!