MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
WOOF_Inflector :: humanize( String $word, String $uppercase = "" )
Returns a human-readable string from $word, by replacing underscores with a space, and by upper-casing the initial character by default.
If you need to uppercase all the words pass ‘all’ as the second parameter.