stripMB4(bool): strip emoji and other 4-byte UTF-8? (default=false).
stripQuotes(bool): strip out any "quote" or 'quote' characters? Specify true, or character to replace with. (default=false)
stripSpace(bool|string): strip whitespace? Specify true or character to replace whitespace with (default=false). Since 3.0.105
reduceSpace(bool|string): reduce consecutive whitespace to single? Specify true or character to reduce to (default=false). Note that the reduceSpace option is an alternative to the stripSpace option, they should not be used together. Since 3.0.105
allowableTags(string): markup tags that are allowed, if stripTags is true (use same format as for PHP's strip_tags() function.
multiLine(bool): allow multiple lines? if false, then $newlineReplacement below is applicable (default=false).
convertEntities(bool): convert HTML entities to equivalent character(s)? (default=false). Since 3.0.105
newlineReplacement(string): character to replace newlines with, OR specify boolean true to remove extra lines (default=" ").
truncateTail(bool): if truncate necessary for maxLength, truncate from end/tail? Use false to truncate head (default=true). Since 3.0.105
inCharset(string): input character set (default="UTF-8").
outCharset(string): output character set (default="UTF-8").
ProcessWire Weekly #559 The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
Weekly.pw / 25 January 2025
ProcessWire 3.0.244 new main/master version ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
Blog / 18 January 2025
Subscribe to weekly ProcessWire news
“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright” —Marc Hinse, Web designer/developer