Extension Hooks

submit_new_entry_absolute_end

Hook Added in Version:

EE 1.4

Hook File Location:

cp.publish.php

Hook Description:

Absolute end of all submission stuff for new entry including trackback/ping errors and right before the redirect.

Hook Parameters

  • $entry_id - Entry's ID
  • $data - Array of data about entry (title, url_title)

Hook Returns Data?

No

Appearance of Hook in the Code

$edata = $EXT->call_extension('submit_new_entry_absolute_end', $entry_id, $data);
if ($EXT->end_script === TRUE) return;

Additional Notes

If there are trackback or ping errors, then this hook will not be called as a unique error message page is shown prior.