register_document_type( Elementor\Template_Document::get_type(), Elementor\Template_Document::class ); } /** * Tells whether Ultimate Addons for Elementor (Header Footer Elementor) is active. * * The plugin renders nothing in that case, so the site never gets two headers. * * @return bool */ public function is_uae_active() { return defined( 'HFE_VER' ) || class_exists( 'Header_Footer_Elementor', false ); } }