TwistPHP Documentation

removeHook

File path: dist/twist/Core/Models/Hooks.model.php
Namespace: Twist\Core\Models
Extends:

removeHookRemove a permanently stored hook, only wo

Parameters

Name Type Description
$strHookstringn/a
$mxdUniqueKeymixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strHook 'foo';
$mxdUniqueKey 'foo-123';

//Call the function removeHook with the example vars
$resHooks = new \Twist\Core\Models\Hooks();
$resHooks -> removeHook($strHook$mxdUniqueKey);