current(); if ( $rooster_current && preg_match( '/^elementor-(\d+)$/', (string) $rooster_current['template'], $rooster_m ) ) { $rooster_id = (int) $rooster_m[1]; } } $rooster_html = Elementor::content( $rooster_id ); echo '' !== $rooster_html ? '
' . $rooster_html . '
' : $content; return; } echo Elementor::location( 'footer' === $rooster_location ? 'footer' : 'header', $content );