apply_filters( ‘https_local_ssl_verify’, bool|string $ssl_verify, string $url )

In this article

Filters whether SSL should be verified for local HTTP API requests.

Parameters

$ssl_verifybool|string
Boolean to control whether to verify the SSL connection or path to an SSL certificate.
$urlstring
The request URL.

Source

$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );

Changelog

VersionDescription
5.1.0The $url parameter was added.
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.