pre_wp_update_https_detection_errors

pre_wp_update_https_detection_errors

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_wp_update_https_detection_errors') is found 1 times:

  • /wp-includes/deprecated.php line 6004
    6000
    6001
    6002
    6003
    6004
    6005
    6006
    6007
    6008
    6009
    6010
    *
     * @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_update_https_detection_errors', null );
    if ( is_wp_error( $support_errors ) ) {
        update_option( 'https_detection_errors', $support_errors->errors, false );
        return;
    }
     
    $support_errors = wp_get_https_detection_errors();