Short-circuits the process of detecting errors related to HTTPS support.
Returning a WP_Error from the filter will effectively short-circuit the default logic of trying a remote request to the site over HTTPS, storing the errors array from the returned WP_Error instead.
$prenull|WP_Error
$support_errors = apply_filters( 'pre_wp_update_https_detection_errors', null );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_wp_update_https_detection_errors