Opened 10 years ago
Closed 9 years ago
#23951 closed enhancement (wontfix)
Add filter to all sidebar widget content
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
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.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hello Jesper800, thanks for the report.
Could you explain this a bit more? Which changes would you like to do?
Can't you use the
widget_display_callback
filter?