add_filter('language_attributes', function($output) { return str_replace('en-US', 'bg-BG', $output); });