This hook can be used for performing actions like sending notifications or for making log entries after moving a thread.
Call time:
In moderation.php
, right after a thread
has been moved by a moderator.
Hook input:
The id of the thread that has been moved (read-only).
Hook output:
None
Example code:
function phorum_mod_foo_move_thread($msgthd_id) { global $PHORUM; // Log the moved thread id $PHORUM["mod_foo"]["moved_threads"][] = $msgthd_id; phorum_db_update_settings(array("mod_foo" => $PHORUM["mod_foo"])); }