lp__force_ucwords( $value )
Converts the first character of each word in a string to uppercase.
Plugin
Namespace
Launchpad
Parameters
string
$value
The string to force uppercase words on.
Return
string
The resulting string with each word’s first character in uppercase.
Source
File: \includes\lp-utility-functions.php
function lp__force_ucwords( $value ){
return $value != '' ? ucwords(strtolower($value)) : '';
}