W3cubDocs

/WordPress

Curl::__destruct()

Destructor

Source

	if (is_resource($this->handle)) {
		curl_close($this->handle);
	}
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-transport-curl/__destruct