MCAPI::inlineCss
Send your HTML content to have the CSS inlined and optionally remove the original styles.
Signature
public function inlineCss(string
$html,
[boolean
$strip_css = false] )
Parameters
$html
— string- Your HTML content
$strip_css
— boolean- optional Whether you want the CSS <style> tags stripped from the returned document. Defaults to false.
Returns
- string
- Your HTML content with all CSS inlined, just like if we sent it.