WP_CLI

Inflector::camelize()public staticWP-CLI 1.0

Camelizes a word. This uses the classify() method and turns the first character to lowercase.

Method of the class: Inflector{}

No Hooks.

Return

String. The camelized word.

Usage

$result = Inflector::camelize( $word );
$word(string) (required)
The word to camelize.

Inflector::camelize() code WP-CLI 2.8.0-alpha

public static function camelize( $word ) {
	return lcfirst( self::classify( $word ) );
}