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

Filters whether SSL should be verified for non-local 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

$options['verify'] = apply_filters( 'https_ssl_verify', $options['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.