WP_Scripts::__construct() In this article Table of ContentsSource Related Changelog ↑ Back to top Constructor. Source public function __construct() { $this->init(); add_action( 'init', array( $this, 'init' ), 0 ); } View all references View on Trac View on GitHub Related UsesDescriptionWP_Scripts::init()wp-includes/class-wp-scripts.phpInitialize the class. add_action()wp-includes/plugin.phpAdds a callback function to an action hook. Used byDescription_wp_get_iframed_editor_assets()wp-includes/block-editor.phpCollect the block editor assets that need to be loaded into the editor’s iframe. wp_scripts()wp-includes/functions.wp-scripts.phpInitializes $wp_scripts if it has not been set. Changelog VersionDescription2.6.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.