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.
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.
You must be logged in to post a comment.
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.