Description
Compat function to mimic mb_strlen().
Usage
$int = mb_strlen( $str, $encoding );
Parameters
- $str
- ( string ) required – The string to retrieve the character length from.
- $encoding
- ( string|null ) optional – Optional. Character encoding to use. Default null.
Returns
int String length of `$str`.
Source
File name: wordpress/wp-includes/compat.php
Lines: 1 to 4 of 4
function mb_strlen( $str, $encoding = null ) { return _mb_strlen( $str, $encoding ); }