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

apply_filters('pre_wp_update_https_detection_errors') is found 1 times:

  • /wp-includes/deprecated.php line 6004
    	 *
    	 * @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();