Uses
Uses | Description |
---|---|
wp-includes/plugin.php: add_action() | Hooks a function on to a specific action. |
PHP5 constructor.
File: wp-includes/class-wp-widget-factory.php
public function __construct() { add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 ); }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_factory/__construct