3.8.9. posting_action_edit_post

Allow modules to perform custom action whenever the user edits his post. This can be used to e.g. redirect the user immediately back to the edited post where he came from.

Call time:

In action_edit.php at the end of the file when everything has been done.

Hook input:

Array containing message data.

Hook output:

Same as input.

Example code:

function phorum_mod_foo_posting_action_edit_post ($message)
{
    global $PHORUM;

    // perform a custom redirect
    phorum_redirect_by_url($PHORUM["DATA"]["URL"]["REDIRECT"]);
}