W3cubDocs

/WordPress

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

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

Version Description
5.1.0 The $url parameter was added.
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/https_local_ssl_verify