The MU forums have moved to WordPress.org

Adding Admin Menu Item (2 posts)

  1. ninnypants
    Member
    Posted 14 years ago #

    I'm trying to add an admin menu to the site admin. I have followed the directions here http://codex.wordpress.org/Adding_Administration_Menus but have not been able to get it working. Any Ideas I'm using this code:

    add_action('admin_menu', 'cdrc_menu');
    
    function cdrc_menu(){
    	add_menu_page('Reports', 'Reports', 10, CDRC.'/reports.php',);
    }
  2. cafespain
    Member
    Posted 14 years ago #

    You might want to get rid of that last ,

About this Topic

  • Started 14 years ago by ninnypants
  • Latest reply from cafespain