wp_cron_conditionally_prevent_sslverify( array $request ): array

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Disables SSL verification if the ‘cron_request’ arguments include an HTTPS URL.

Description

This prevents an issue if HTTPS breaks, where there would be a failed attempt to verify HTTPS.

Parameters

$requestarrayrequired
The cron request arguments.

Return

array The filtered cron request arguments.

Source

	// Otherwise the result cannot be determined.
	return null;
}

Changelog

VersionDescription
5.7.0Introduced.

User Contributed Notes

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