WordPress at Your Fingertips
function is not described

mb_strlen() WP 4.2.0

Compat function to mimic mb_strlen().

No Hooks.

Return

Int. String length of $str.

Usage

mb_strlen( $str, $encoding );
$str(string) (required)
The string to retrieve the character length from.
$encoding(string|null)
Character encoding to use.
Default: null

Notes

Changelog

Since 4.2.0 Introduced.

Code of mb_strlen() WP 5.8

<?php
function mb_strlen( $str, $encoding = null ) {
	return _mb_strlen( $str, $encoding );
}