function MCAPI::inlineCss in Mailchimp 7
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::inlineCss()
- 5 MCAPI.class.php \MCAPI::inlineCss()
- 6.2 MCAPI.class.php \MCAPI::inlineCss()
- 6 MCAPI.class.php \MCAPI::inlineCss()
Send your HTML content to have the CSS inlined and optionally remove the original styles.
@section Helper @example xml-rpc_inlineCss.php
Parameters
string $html Your HTML content:
bool $strip_css optional Whether you want the CSS <style> tags stripped from the returned document. Defaults to false.:
Return value
string Your HTML content with all CSS inlined, just like if we sent it.
File
- ./
MCAPI.class.php, line 1464
Class
Code
function inlineCss($html, $strip_css = false) {
$params = array();
$params["html"] = $html;
$params["strip_css"] = $strip_css;
return $this
->callServer("inlineCss", $params);
}