Extension Hooks

weblog_entries_tagdata

Hook Added in Version:

EE 1.4

Hook File Location:

mod.weblog.php

Hook Description:

Modify the tagdata for the weblog entries before anything else is parsed

Hook Parameters

  • $tagdata - The Weblog Entries tag data
  • $row - Array of data for the current entry
  • $this - The current Weblog object including all data relating to categories and custom fields

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['weblog_entries_tagdata']))
{
 $tagdata = $EXT->call_extension('weblog_entries_tagdata', $tagdata, $row);
 if ($EXT->end_script === TRUE) return $edata;
}

Additional Notes

ExpressionEngine 1.5.0 had the $this parameter added