Thanks for the tip.
I was able to solve the issue with this function:
add_filter( 'template_directory_uri', 'filter_function_name_5627', 10, 3 );
function filter_function_name_5627( $template_dir_uri, $template, $theme_root_uri ){
// filter...
if(!strpos($template_dir_uri, 'localhost')){
$bits = parse_url($template_dir_uri);
if(!strpos($bits["host"], 'www')){
$bits["host"] = 'www.'. $bits["host"];
}
$template_dir_uri = $bits["scheme"] . "://" . $bits["host"]. $bits["path"];
}
return $template_dir_uri;
}
One other odd thing I noticed while implementing this function is that it also impacted how wordpress embeds the theme style sheet. Odd to me because my original problem wasn’t impacting the stylesheet for some reason. Just my use of get_template_directory_uri() within my theme.