Reputation: 4058
I need to shorten the widget titles if they're longer than 20 chars, but I don't know what filter/action to use to hook into them.
Is there any? Thanks in advance.
Upvotes: 2
Views: 2251
Reputation: 9387
There is a filter called widget_title you can use. But usually you should be able to change the title of a widget using the backend customization of the widgets.
Upvotes: 2