Changeset 37544 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 05/23/2016 07:01:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r37518 r37544 115 115 116 116 /** 117 * Unregister a widget118 * 119 * Unregisters a WP_Widget widget. Useful for un registering default widgets.120 * Run within a function hooked to the widgets_initaction.117 * Unregisters a widget. 118 * 119 * Unregisters a WP_Widget widget. Useful for un-registering default widgets. 120 * Run within a function hooked to the {@see 'widgets_init'} action. 121 121 * 122 122 * @since 2.8.0 … … 126 126 * @global WP_Widget_Factory $wp_widget_factory 127 127 * 128 * @param string $widget_class The name of a class that extends WP_Widget 128 * @param string $widget_class The name of a class that extends WP_Widget. 129 129 */ 130 130 function unregister_widget($widget_class) { … … 781 781 * 782 782 * NOTE: $widget_id and $id_base are the same for single widgets. To be effective 783 * this function has to run after widgets have initialized, at action 'init'or later.783 * this function has to run after widgets have initialized, at action {@see 'init'} or later. 784 784 * 785 785 * @since 2.2.0 … … 1430 1430 1431 1431 /** 1432 * Register all of the default WordPress widgets on startup. 1433 * 1434 * Calls 'widgets_init' action after all of the WordPress widgets have been 1435 * registered. 1432 * Registers all of the default WordPress widgets on startup. 1433 * 1434 * Calls {@see 'widgets_init'} action after all of the WordPress widgets have been registered. 1436 1435 * 1437 1436 * @since 2.2.0
Note: See TracChangeset
for help on using the changeset viewer.