Sometimes developers need to filter the output of a widget that does not have its own output filter built-in. This plugin provides a filter which will allow developers to filter any widget’s output, regardless of whether it has that capability natively or not.
This plugin was inspired by a similar filter in the Widget Logic plugin, and essentially duplicates that functionality, but with more flexibility.
Usage instructions are on GitHub.
If you know what WordPress filters are, you probably know how to install a plugin. Just install and activate; there are no settings to configure. See the usage instructions on GitHub.
Contributors and Developers
“Widget Output Filters” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fix infinite loop when the same widget instance is rendered twice on the same page as some page builder plugins allow
- Convert class to a singleton
- Update docs
- Refactor code
- Add Composer support
- Add sidebar ID as a parameter in the filter
- Initial release