Automattic\WooCommerce\EmailEditor\Integrations\Core
Initializer::initialize
Initializes the core blocks renderers.
Method of the class: Initializer{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Initializer = new Initializer(); $Initializer->initialize(): void;
Initializer::initialize() Initializer::initialize code WC 10.6.2
public function initialize(): void {
add_filter( 'woocommerce_email_editor_theme_json', array( $this, 'adjust_theme_json' ), 10, 1 );
add_filter( 'safe_style_css', array( $this, 'allow_styles' ) );
}