SproutCMS

This is the code documentation for the SproutCMS project

function executeChain()

Execute a content replace chain

Usage

unknown ContentReplace::executeChain ( string $chain , string $html );

Example

$html = Blogs::getBlogPost($post_id);
$html = ContentReplace::executeChain('inner_html', $html);

Arguments

  1. string $chain
    The name of the chain to execute
  2. string $html
    The incoming HTML