widgets_init WordPress Action Hook

The widgets_init hook is used to register widgets and sidebars in Wordpress. This hook is fired after the theme has been setup.

do_action( 'widgets_init' ) #

Fires after all default WordPress widgets have been registered.


Source

File: wp-includes/widgets.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.