MailPoet\EmailEditor\Integrations\Core

Initializer::initialize()publicWC 1.0

Initializes the core blocks renderers.

Method of the class: Initializer{}

No Hooks.

Return

null. Nothing (null).

Usage

$Initializer = new Initializer();
$Initializer->initialize(): void;

Initializer::initialize() code WC 9.8.1

public function initialize(): void {
	add_action( 'mailpoet_blocks_renderer_initialized', array( $this, 'register_core_blocks_renderers' ), 10, 1 );
	add_filter( 'mailpoet_email_editor_theme_json', array( $this, 'adjust_theme_json' ), 10, 1 );
	add_filter( 'safe_style_css', array( $this, 'allow_styles' ) );
}