Fires once for each registered widget.
Parameters
$widget
array- An array of default widget arguments.
Source
do_action( 'wp_register_sidebar_widget', $widget );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Fires once for each registered widget.
$widget
arraydo_action( 'wp_register_sidebar_widget', $widget );
Version | Description |
---|---|
3.0.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
This example does something with the default ‘Pages’ widget.