Constructor.
Source
public function __construct() {
$this->init();
add_action( 'init', array( $this, 'init' ), 0 );
}
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
CARVIEW |
Constructor.
public function __construct() {
$this->init();
add_action( 'init', array( $this, 'init' ), 0 );
}
Uses | Description |
---|---|
WP_Scripts::init()wp-includes/class-wp-scripts.php | Initialize the class. |
add_action()wp-includes/plugin.php | Adds a callback function to an action hook. |
Used by | Description |
---|---|
_wp_get_iframed_editor_assets()wp-includes/block-editor.php | Collect the block editor assets that need to be loaded into the editor’s iframe. |
wp_scripts()wp-includes/functions.wp-scripts.php | Initializes $wp_scripts if it has not been set. |
Version | Description |
---|---|
2.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.