A WordPress-centric search engine for devs and theme authors



the_widget ›

Since3.0.0
Deprecatedn/a
do_action( 'the_widget', $widget, $instance, $args )
Parameters: (3)
  • (string) $widget The widget's class name.
    Required: Yes
  • (array) $instance The current widget instance's settings.
    Required: Yes
  • (array) $args An array of the widget's sidebar arguments.
    Required: Yes
Defined at:
Codex:

Fires before rendering the requested widget.





Source

do_action( 'the_widget', $widget, $instance, $args );