Unclassified NewsBoard Code Reference

UnbRegisterHook function

Register a new plug-in hook function

function UnbRegisterHook ($id, $fname, $prio = 0);

Parameters:

id
(string) hook ID to register the function for
fname
(string) function name. The function must accept one parameter BY REFERENCE
prio  –  optional, default: 0
(int) priority of the function. All function for one hook will be called in ascending priority order

Implementation file: unb_lib/plugin.lib.php, line 18

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.