Automattic\WooCommerce\Internal\EmailEditor

Integration::init()publicWC 1.0

Initialize the integration.

Method of the class: Integration{}

No Hooks.

Return

null. Nothing (null).

Usage

$Integration = new Integration();
$Integration->init(): void;

Integration::init() code WC 9.8.1

final public function init(): void {
	if ( ! $this->dependency_check->are_dependencies_met() ) {
		// If dependencies are not met, do not initialize the email editor integration.
		return;
	}

	add_action( 'init', array( $this, 'initialize' ) );
}