W3speedster Pre Start Optimization

Function: w3SpeedsterPreStartOptimization
Description: Modify page content pre optimization.
Parameter: $html = Content visible in pages view source.
Return: 1 – Reflect the changes done in html of the page.

function w3SpeedsterPreStartOptimization($html){
$html = str_replace('Existing content','Changed content',$html);
return $html;
}