Uses
Uses | Description |
---|---|
wp-includes/plugin.php: add_action() | Hooks a function on to a specific action. |
wp-includes/class.wp-scripts.php: WP_Scripts::init() | Initialize the class. |
Constructor.
File: wp-includes/class.wp-scripts.php
public function __construct() { $this->init(); add_action( 'init', array( $this, 'init' ), 0 ); }
Version | Description |
---|---|
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_scripts/__construct