Register a callback for a hook
Parameters
$hook
stringrequired- Hook name
$callback
callbackrequired- Function/method to call on event
$priority
intrequired- Priority number. <0 is executed earlier, >0 is executed later
Register a callback for a hook
$hook
stringrequired$callback
callbackrequired$priority
intrequired
User Contributed Notes
You must log in before being able to contribute a note or feedback.