Uma área de pesquisa sobre o WordPress para devs e autores do tema



widget_display_callback ›

Desde2.8.0
Obsoleton/a
apply_filters( 'widget_display_callback', $instance, $this, $args )
Parâmetros: (3)
  • (array) $instance The current widget instance's settings.
    Required: Yes
  • (WP_Widget) $this The current widget instance.
    Required: Yes
  • (array) $args An array of default widget arguments.
    Required: Yes
Definido em:
Codex:

Filters the settings for a particular widget instance.

Returning false will effectively short-circuit display of the widget.





Fonte

$instance = apply_filters( 'widget_display_callback', $instance, $this, $args );