• Hi folks,

    I’ve added a submenu_page using add_submenu_page() function. Is there any function or way I can obtain the link of this subpage?

    Thank you in advance

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you hover over, or view page source for, the menu links with your browser, you will see the links are typically still the parent slug, with your submenu function passed as an URL parameter.

    The data from which these links are constructed are stored in the global array $submenu.

Viewing 1 replies (of 1 total)
  • The topic ‘Get Admin menu Link’ is closed to new replies.