WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks

AssetsController::init() protected WC 1.0

Initialize class features.

{} It's a method of the class: AssetsController{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->init();

Code of AssetsController::init() WC 5.9.0

protected function init() {
	add_action( 'init', array( $this, 'register_assets' ) );
	add_action( 'body_class', array( $this, 'add_theme_body_class' ), 1 );
	add_action( 'admin_body_class', array( $this, 'add_theme_body_class' ), 1 );
	add_action( 'admin_enqueue_scripts', array( $this, 'update_block_style_dependencies' ), 20 );
}