WidgetZonePlaceholderHelperReplacePlaceholders Method |
Replaces widget zone placeholders in format $$zoneIdentifier$$ with values provided by getZoneContent delegate
which accepts zone identifier and returns appropriate replacement string.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax public static string ReplacePlaceholders(
string templateCode,
Func<string, string> getZoneContent
)
Parameters
- templateCode
- Type: SystemString
Email template code - getZoneContent
- Type: SystemFuncString, String
Delegate which returns the replacement text for the given zone identifier
Return Value
Type:
StringEmail template code with replaced widget zone placeholders.
See Also