hook_menu() item is not showing in primary-links even it exist in menu_links and menu_router tables I'm using hook_menu() in my module which defines a menu item in the primary-links. 

I flushed the cache and refreshed the modules page but the item didn't show in the primary-links.
I checked the menu_links and menu_router tables and the item was defined it them.

function mymodule_menu() {
  $items['newuser'] = array(
    'title' =&gt; 'Register',
    'menu_name' =&gt; 'primary-links',
    'page callback' =&gt; 'register_browse_page',
    'access callback' =&gt; 'newuser_access_callback',
  );

  return $items;
}

function newuser_access_callback() {
  global $user;

  if ($user-&gt;uid == 0 &amp;&amp; user_access('access content')) {
    return TRUE;
  }

  return FALSE;
}

function register_browse_page() {
  $form = drupal_get_form("newuser_form");
  return theme("newuser_form_page", $form);
}


What is the problem? How do I fix it?
This condition in your newuser_access_callback tells to your link to shows only to anonymous.

if ($user-&gt;uid == 0 &amp;&amp; user_access('access content')) {


If you want see it as admin also, you should add yourself like that

if ($user-&gt;uid == 1 || ($user-&gt;uid == 0 &amp;&amp; user_access('access content'))) {