_wp_has_noncharacters_fallback()WP 6.9.0

Deprecated since 7.1.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Fallback support for determining if a string contains Unicode noncharacters.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Returns

bool. Whether noncharacters were found in the string.

Usage

_wp_has_noncharacters_fallback( $text ): bool;
$text(string) (required)
Are there noncharacters in this string?.

Notes

See: [wp_has_noncharacters()](/function/wp_has_noncharacters)

Changelog

Since 6.9.0 Introduced.
Deprecated since 7.1.0

_wp_has_noncharacters_fallback() code WP 7.1

function _wp_has_noncharacters_fallback( string $text ): bool {
	_deprecated_function( __FUNCTION__, '7.1.0' );

	return wp_has_noncharacters( $text );
}