WordPress at a glance
function is not described

_autop_newline_preservation_helper() WP 3.1.0

Newline preservation help function for wpautop

No Hooks.

Return

String.

Usage

_autop_newline_preservation_helper( $matches );
$matches(array) (required)
preg_replace_callback matches array

Code of autop newline preservation helper: wp-includes/formatting.php WP 5.2.1

<?php
function _autop_newline_preservation_helper( $matches ) {
	return str_replace( "\n", '<WPPreserveNewline />', $matches[0] );
}