Functions Library Extension Hooks¶
create_captcha_start¶
Allows rewrite of how CAPTCHAs are created
$edata = $this->extensions->call('create_captcha_start', $old_word); if ($this->extensions->end_script === TRUE) return $edata;
$old_word¶
Normally empty, but it will create a CAPTCHA with that word if set.
| returns: | void |
|---|
Added in v1.4.0
form_declaration_modify_data¶
Modify the $data parameters before they are processed by the user side form creator.
$data = $this->extensions->call('form_declaration_modify_data', $data);
form_declaration_return¶
Take control of the form_declaration function to create form tags the way you want.
$form = $this->extensions->call('form_declaration_return', $data); if ($this->extensions->end_script === TRUE) return $form;
$data¶
The array of arguments sent to the function for creating the form tag
| returns: | String |
|---|
Added in v1.4.2
set_cookie_end¶
Take control of setting cookies after cookie parameters have been normalized according to the cookie configuration settings.
$this->EE->extensions->call('set_cookie_end', $data);
if ($this->EE->extensions->end_script === TRUE) return;
$data¶
An array of the prepped cookie parameters, which includes the following keys: prefix, name, value, expire, path, domain, secure_cookie.
| returns: | void |
|---|
Added in v2.5.0

User Contributed Notes
You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide