ProCacheMinifyHTML::minifyInlineJS()

Minify inline javascript within an HTML document

This is a simple default handler if no external handler was provided.

Usage

$int = $proCacheMinifyHTML->minifyInlineJS(string $html);

Arguments

NameType(s)Description
$htmlstring

Return value

int

Number of scripts that were minified


ProCacheMinifyHTML methods and properties

API reference based on ProcessWire core version 3.0.251