function wysiwyg_template_html_load in Wysiwyg API template plugin 7.2
Load a specific template for viewing, as called through the menu wildcard
1 call to wysiwyg_template_html_load()
- wysiwyg_template_form_node_form_alter in ./
wysiwyg_template.module - Implements hook_form_FORM_ID_alter().
File
- ./
wysiwyg_template.module, line 310 - Makes TinyMCE Templates available as plugin for client-side editors integrated via Wysiwyg API.
Code
function wysiwyg_template_html_load($name) {
$template = wysiwyg_template_load_template($name);
return module_exists('token') ? token_replace($template['body']) : $template['body'];
}