• Alright folks, I am trying to push a custom link, an absolute url in the menu but the resulting display gets distorted. Basically, what appears is that there are menu items being pushed, one being blank.

    I am using add_menu_page function as below :

    add_menu_page( ‘External Link’, $mylink, ‘manage_options’, ‘external-link’, ”, ”);

    where
    $mylink = ‘External Link‘;

    I think the function is not designed to take absolute urls. Can anyone advise on this?

    Thanks

  • The topic ‘Adding Custom URLs in the admin menu’ is closed to new replies.