Extension Hooks

publish_form_headers

Hook Added in Version:

EE 1.6.0

Hook File Location:

cp.publish.php

Hook Description:

Adds content to headers for Publish page

Hook Parameters

  • $which - new, preview, edit, or save
  • $submission_error - If any
  • $entry_id - Entry ID being sent to the form
  • $weblog_id - The Weblog ID being sent to the form

Hook Returns Data?

Yes

Appearance of Hook in the Code

$DSP->extra_header .= $EXT->call_extension('publish_form_headers', $which, $submission_error, $entry_id, $weblog_id);
if ($EXT->end_script === TRUE) return;