pre_wp_get_https_detection_errors

pre_wp_get_https_detection_errors

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('pre_wp_get_https_detection_errors') is found 1 times:

  • /wp-includes/https-detection.php line 106
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    *
     * @param null|WP_Error $pre Error object to short-circuit detection,
     *                           or null to continue with the default behavior.
     */
    $support_errors = apply_filters( 'pre_wp_get_https_detection_errors', null );
    if ( is_wp_error( $support_errors ) ) {
        return $support_errors->errors;
    }
     
    $support_errors = new WP_Error();