Ticket #9852: widget_display_callback.diff
| File widget_display_callback.diff, 646 bytes (added by , 17 years ago) |
|---|
-
wp-includes/widgets.php
173 173 if ( array_key_exists( $this->number, $settings ) ) { 174 174 $settings = $settings[$this->number]; 175 175 // filters the widget's settings, return false to stop displaying the widget 176 $settings = apply_filters('widget_display_callback', $settings, $this );176 $settings = apply_filters('widget_display_callback', $settings, $this, $args); 177 177 if ( false !== $settings ) 178 178 $this->widget($args, $settings); 179 179 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)