Automattic\WooCommerce\Internal\EmailEditor

Integration::register_hooks()publicWC 1.0

Register hooks for the integration.

Method of the class: Integration{}

No Hooks.

Return

null. Nothing (null).

Usage

$Integration = new Integration();
$Integration->register_hooks();

Integration::register_hooks() code WC 9.8.1

public function register_hooks() {
	add_filter( 'mailpoet_email_editor_post_types', array( $this, 'add_email_post_type' ) );
	add_filter( 'mailpoet_is_email_editor_page', array( $this, 'is_editor_page' ), 10, 1 );
	add_filter( 'replace_editor', array( $this, 'replace_editor' ), 10, 2 );
}