0 || defined( 'ELEMENTOR_VERSION' ); } /** * Boot. * * @return void */ public function boot() { // Nothing to hook on the PHP side yet; the adapter script does the work. } /** * Is editing request. * * @return bool */ public function is_editing_request() { if ( ! class_exists( '\Elementor\Plugin' ) || ! isset( \Elementor\Plugin::$instance->preview ) ) { return false; } return (bool) \Elementor\Plugin::$instance->preview->is_preview_mode(); } }