Compatibility::register()
Source
File: src/Tribe/Editor/Compatibility.php
public function register() { $this->container->singleton( self::class, $this ); $this->container->singleton( 'editor.compatibility', $this ); // Conditionally load compatibility for the Classic Editor plugin. if ( Classic_Editor::is_classic_plugin_active() ) { $this->container->singleton( 'editor.compatibility.classic-editor', Classic_Editor::class ); tribe( 'editor.compatibility.classic-editor' )->init(); } // Conditionally load compatibility for Divi themes. if ( Divi::is_divi_active() ) { $this->container->singleton( 'editor.compatibility.divi', Divi::class ); tribe( 'editor.compatibility.divi' )->init(); } }