SproutCMS

This is the code documentation for the SproutCMS project

function emailWidgets()

Replace embed code with the actual widget. This is a tweaked version of embedWidgets, designed for email

Embed code is in the format ((WIDGET code))

Usage

unknown ContentReplace::emailWidgets ( mixed $text , string $widget_table , string $widget_record , mixed $pre_html , mixed $post_html );

Arguments

  1. $text
  2. string $widget_table
    The host table of the widgets, e.g. 'page'
  3. string $widget_record
    The record id
  4. $pre_html
  5. $post_html