// A11Y-H1-DUP fix: /areas/ archive // Demotes broken h1 with literal JS concat syntax (WPCode #3199 compile cache artifact). // Site Wide Header location (wp_head timing): registers wp_footer buffer hooks. // #3199 is Site Wide Footer (priority 10); we buffer priority 0-9999. if (is_post_type_archive('area')) { add_action('wp_footer', function() { ob_start(); }, 0); add_action('wp_footer', function() { $html = ob_get_clean(); if ($html === false || $html === '') return; echo preg_replace_callback( '/