inlineStyles()
Overview
public string function inlineStyles(
required string html
, array styles
, string cacheSuffix = ""
)
Receives an html string and returns the same HTML but with all style definitions that reside in style tags converted to inline styles suitable for email sending.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| html | string | Yes | the original HTML |
| styles | array | No | |
| cacheSuffix | string | No (default="") |