WordPress.org

Forums

Adding Custom URLs in the admin menu (1 post)

  1. kshitijahuja
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags