Tried to find some documentation on this that includes examples I can use, but couldn't. If anyone has suggestions, please let me know.
According to http://drupal.org/node/103114, I assume that everything that went into D5 hook_menu $may_cache stays in hook_menu() (with new syntax). It also appears that everything that was !$may_cache goes into hook_init(). But, I don't see the syntax for that.
So, for example, in 5.x my hook_menu() is:
<?php
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/og/og_user_roles',
'title' => t('Organic groups user roles'),
'description' => t('Allows group administrators to add members into group roles.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'og_user_roles_admin_settings',
'access' => user_access('administer og_user_roles'),
'type' => MENU_NORMAL_ITEM
);
}
else {
// modr8 modification
if (module_exists('modr8')) {
if (arg(0) == 'node' && is_numeric(arg(1))) {
$node = node_load(arg(1));
if (!empty($node) && $node->moderate) {
$items[] = array('path' => 'node/'. $node->nid .'/ogmodr8', 'title' => t('Moderate'),
'callback' => og_user_roles_modr8_page,
'callback arguments' => $node->nid,
'access' => user_access('moderate content'),