$sanitizer->kebabCase() method

Alias of hyphenCase()

Usage

// basic usage
$string = $sanitizer->kebabCase(string $value);

// usage with all arguments
$string = $sanitizer->kebabCase(string $value, array $options = []);

Arguments

NameType(s)Description
valuestring
options (optional)array

See hyphenCase()

Return value

string


$sanitizer methods and properties

API reference based on ProcessWire core version 3.0.244

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani