Callback Function Return Values

A callback function may either return nothing at all, or it can return an array (which may be the hook object). Whatever is returned is merged with the hook object. Merging in this case means that any new elements in the returned array are added to the hook object, and any elements that already exist in the hook object are overwritten by the returned object's elements.