Support » Plugin: Top Commentators Widget » [Plugin: Top Commentators Widget] apply_filters 'widget_title'

  • Resolved whoaminobody

    (@whoaminobody)


    If you look at the builtin WordPress widgets, they apply widget_title filters against the title. Is it possible to do the same for the Top Commentators plugin?

    The ‘widget_title’ filter is used in all the builtin wordpress widgets (wp-includes/default-widgets.php).

    It’s a small change. apply_filters needs to be added to widget():
    $title = $instance[‘title’];
    $title = apply_filters(‘widget_title’, $title);

    http://wordpress.org/extend/plugins/top-commentators-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Top Commentators Widget] apply_filters 'widget_title'’ is closed to new replies.