File path: dist/twist/Core/Models/Hooks.model.php
Namespace: Twist\Core\Models
cancel
— Cancel a hook from being active in the system, this will cancel the hook form the current page load only
Name | Description |
---|---|
$strHook | n/a |
$mxdUniqueKey | n/a |
[$blPermanent = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strHook = 'foo';
$mxdUniqueKey = 'foo-123';
$blPermanent = false;
//Call the function cancel with the example vars
$resHooks = new \Twist\Core\Models\Hooks();
$resHooks -> cancel($strHook, $mxdUniqueKey, $blPermanent);