Suggestion: Setting the apply_filters for Widget Title
-
Hello,
First, thanks a lot for such a great plugin.
While developing my WordPress site, I come up with the situation where I need to add Icon on Widget Title. Your widget wasn’t rendering title so I dig into the Widget.php file and found that you haven’t used apply_filters for the title. So here is the updated code with is now considering apply_filters(‘widget_title’, $callback) from the theme file.File: widget.php / Line #28
if($widget_title != "") echo $before_title . apply_filters('widget_title', $widget_title) . $after_title;
- The topic ‘Suggestion: Setting the apply_filters for Widget Title’ is closed to new replies.