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.7

apply_filters('pre_wp_get_https_detection_errors') is found 1 times:

  • /wp-includes/https-detection.php line 105
    	 * @param null|WP_Error $pre Error object to short-circuit detection,
    	 *                           or null to continue with the default behavior.
    	 * @return null|WP_Error Error object if HTTPS detection errors are found, null otherwise.
    	 */
    	$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();