Prev |  | Next

### 3.8.5. admin_editforum_form_save_inherit

This hook can be used for intercepting requests where the forum settings get overriden with the inherited settings a forum is created or saved. At this stage, the `$_POST` is still accessible in it's (almost) original form. When this hook has run, `$_POST` will be replaced with the $forum_settings_inherit parameter !

Call time:

After creating/saving a forum, after checking inherited settings before applying them.

Hook input:

The `$forum_settings_inherit` content.

Hook output:

Same as input.

Example code:

    function phorum_mod_foo_admin_editforum_form_save_inherit ($forum_settings_inherit)
    {
        return $forum_settings_inherit;

    }

Prev | Up | Next
| Home |