Extension Hooks

email_module_tellafriend_override

Hook Added in Version:

EE 1.5.1

Hook File Location:

mod.email.php

Hook Description:

Allow use of Tell-A-Friend for things besides weblog entries

Hook Parameters

  • $qstring - Query string without comments or pagination information
  • $obj - The Email class object with its various variables

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['email_module_tellafriend_override']))
{
 $tagdata = $EXT->call_extension('email_module_tellafriend_override', $qstring, $this);
 if ($EXT->end_script === TRUE) return $tagdata;
}

Additional Notes

This completely overrides the processing of the Tell-a-Friend forms default usage for showing Weblog Entries.