On this page
WP_Widget_Factory::__construct()
PHP5 constructor.
Source
File: wp-includes/class-wp-widget-factory.php. View all references
public function __construct() {
add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 );
}
Related
Uses
| Uses | Description |
|---|---|
| add_action() wp-includes/plugin.php | Adds a callback function to an action hook. |
Used By
| Used By | Description |
|---|---|
| WP_Widget_Factory::WP_Widget_Factory() wp-includes/class-wp-widget-factory.php | PHP4 constructor. |
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_factory/__construct