wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



widget_display_callback › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'widget_display_callback', $instance, $this, $args )
Parametry: (3)
  • (array) $instance The current widget instance's settings.
    Wymagane: Tak
  • (WP_Widget) $widget The current widget instance.
    Wymagane: Tak
  • (array) $args An array of default widget arguments.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the settings for a particular widget instance.

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





Źródło

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