Product => DamaPlus Hooks => global_start Plugins => `product` => "damaplus" `hook_location` => "global_start" `phpcode` => "function _random() { echo "Okay!"; } $dphook['random_hook'] = _random();"; Global.php => eval($dphook); - This evaluates ALL hooked functions / variables / etc within $dphook - This means, in DamaPlus there is a hook that can be called on global_start, once global_start hooks have been called, it can be called in templates, or plugins, etc such as: Template => DamaPlus Default Template Var => 'content' Text => '
Hello!
$dphook[random_hook]
Which shows: Hello! Okay!