KwHook.Create

Creates a function override.

The original function is always called after all functions which should override this function.

If an addon want to disable the original function it have to call kwHook.DisableOrig.

Arguments

 * addonName
 * string - The name of the addon.
 * funcName
 * string - The name of the function.
 * func
 * function - The function which is called before the original function.

Returns

 * nil
 * void - A method call without return value.

Example
local function newReloadUI --do something end

kwHook.Create("Example","ReloadUI",newReloadUI)