applications.restorePreviousTemplate

Syntax

bool applications.restorePreviousTemplate ( int templateId, int cacheIndex, string type = 'template' )

Argument Info

NameTypeRequiredDefault valueDescription
templateIdintRequirednoneThe template ID.
cacheIndexintRequirednoneThe cache index of the version to restore.
typestringOptional'template'The template type (email, wrapper, or template).

Return Values

FieldDescriptionPossible Values