Prev |  | Next

### 3.8.6. admin_editforum_form_save_inherit_others

This hook gets called for every other forum which inherits settings from this forum and thus gets updated. This can be used to prevent other settings from inherited. Be cautious what you modify in $forum_settings, as it will be used without re-initialization in the loop going through all forums which inherit from this one!

Call time:

When iterating over all forums which inherit from this forum.

Hook input:

The $forum_settings which will be applied to the inherited forums and the $inherit_setting .

Hook output:

$forum_settings, modified at wish, but be cautious, as it gets re-used during the loop

Example code:

    function phorum_mod_foo_admin_editforum_form_save_inherit_others ($forum_settings, $inherit_setting)
    {
        return $forum_settings;

    }

Prev | Up | Next
| Home |