WordPress at a glance
function is not described

convert_chars() WP 0.71

Converts lone & characters into & (a.k.a. &)

No Hooks.

Return

String. Converted string.

Usage

convert_chars( $content, $deprecated );
$content(string) (required)
String of characters to be converted.
$deprecated(string)
Not used.
Default: ''

Code of convert chars: wp-includes/formatting.php VER 5.0.3

<?php
function convert_chars( $content, $deprecated = '' ) {
	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, '0.71' );
	}

	if ( strpos( $content, '&' ) !== false ) {
		$content = preg_replace( '/&([^#])(?![a-z1-4]{1,8};)/i', '&#038;$1', $content );
	}

	return $content;
}