Themosis\Hook\IHook::remove PHP Method

remove() public method

Remove a defined action or filter.
public remove ( string $hook, integer $priority = 10, Closure | string $callback = null ) : mixed
$hook string The hook name.
$priority integer The priority number.
$callback Closure | string The callback to remove.
return mixed
    public function remove($hook, $priority = 10, $callback = null);