model->languages->has() && $polylang instanceof PLL_Admin && pll_use_block_editor_plugin() ) { $polylang->site_editor = ( new Site( $polylang ) )->init(); $polylang->post_editor = ( new Post( $polylang ) )->init(); $polylang->widget_editor = ( new Widget( $polylang ) )->init(); $polylang->filter_path = ( new Filter_Preload_Paths( $polylang ) )->init(); } } );