You are here

function og_massadd_menu_alter in Organic Groups Mass Add 6

Implement hook_menu_alter

File

./og_massadd.module, line 42
The og_massadd module file

Code

function og_massadd_menu_alter(&$items) {
  if (!empty($items['og/users/%node/add_user'])) {
    $items['og/users/%node/add_user']['page callback'] = 'og_massadd_massadd';
    $items['og/users/%node/add_user']['page arguments'] = array(
      2,
    );
  }
}