3.3. Page output

3.3.1. phorum_shutdown

This hook gives modules a chance to easily hook into PHP's register_shutdown_function() functionality.

Code that you put in a phorum_shutdown hook will be run after running a Phorum script finishes. This hook can be considered an expert hook. Only use it if you really need it and if you are aware of implementation details of PHP's shutdown functionality.

Call time:

After running a Phorum script finishes.

Hook input:

No input.

Hook output:

No output.