private function remoteCall()
    {

        if (function_exists(
            'wp_remote_head'
        )) { // Check if this is being used with WordPress, if so use it's excellent HTTP class

            $response = wp_remote_head($this->tracking);
            return $response;

        } elseif (function_exists('curl_init')) {
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, $this->tracking);
            curl_setopt($ch, CURLOPT_HEADER, false);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); //@nczz Fixed HTTPS GET method
            curl_setopt($ch, CURLOPT_TIMEOUT, 10);
            curl_exec($ch);
            curl_close($ch);
        } else {
            $handle = fopen($this->tracking, "r");
            fclose($handle);
        }
        return;
    }
private function remoteCall()
    {

        if (function_exists(
            'wp_remote_head'
        )) { // Check if this is being used with WordPress, if so use it's excellent HTTP class

            $response = wp_remote_head($this->tracking);
            return $response;

        } elseif (function_exists('curl_init')) {
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, $this->tracking);
            curl_setopt($ch, CURLOPT_HEADER, false);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); //@nczz Fixed HTTPS GET method
            curl_setopt($ch, CURLOPT_TIMEOUT, 10);
            curl_exec($ch);
            curl_close($ch);
        } else {
            $handle = fopen($this->tracking, "r");
            fclose($handle);
        }
        return;
    }
private function remoteCall ( ) { if ( function_exists ( 'wp_remote_head' ) ) { // Check if this is being used with WordPress, if so use it's excellent HTTP class $ response = wp_remote_head ( $ this -> tracking ) ; return $ response ; } elseif ( function_exists ( 'curl_init' ) ) { $ ch = curl_init ( ) ; curl_setopt ( $ ch , CURLOPT_URL , $ this -> tracking ) ; curl_setopt ( $ ch , CURLOPT_HEADER , false ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , true ) ; curl_setopt ( $ ch , CURLOPT_SSL_VERIFYPEER , false ) ; //@nczz Fixed HTTPS GET method curl_setopt ( $ ch , CURLOPT_TIMEOUT , 10 ) ; curl_exec ( $ ch ) ; curl_close ( $ ch ) ; } else { $ handle = fopen ( $ this -> tracking , "r" ) ; fclose ( $ handle ) ; } return ; }
Use WP's HTTP class or CURL or fopen

@return array|null|void
Use WP s HTTP class or CURL or fopen