widgets.php WordPress Action Hook

The widgets.php hook allows you to add extra fields to the widget form in the WordPress admin. This is useful for adding extra data to your widget, or for adding new fields to the default WordPress widgets.

do_action( 'widgets.php' ) #

Fires early when editing the widgets displayed in sidebars.


Source

File: wp-admin/includes/ajax-actions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.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.

Show More