Add filter to all sidebar widget content
|Reported by:||Jesper800||Owned by:|
I'm looking for opinions of other people here before proposing an approach for this.
What I'm missing, as far as widgets are concerned, is a filter for changing widget content. I would suggest something along the lines of a filter for the content in WP_Widget's display_callback method.
Using this, small changes could be made to widgets while still maintaining upgradability when the plugin, core or theme updates the widget — something that is not the case when extending the widget and overriding the widget method.