Extension Hooks

edit_template_start

Hook Added in Version:

EE 1.6.0

Hook File Location:

cp.templates.php

Hook Description:

Allows complete takeover of the template editor

Hook Parameters

  • $query - The query object for the current template
  • $template_id - The id of the current template
  • $message - The success/failure message from form submission

Hook Returns Data?

No

Appearance of Hook in the Code

$edata = $EXT->call_extension('edit_template_start', $query, $template_id, $message);
if ($EXT->end_script === TRUE) return;