QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Home
  • QIdea
  • QTrack
Home Carbon Ads Find Admin Menu Item’s Page URL in WordPress

Find Admin Menu Item’s Page URL in WordPress

You can find absolute URL of a menu item’s settings page using just one line of code

//First parameter: Slug of the menu item
//Second parameter: If true then echo's the url or if false then returns the URL
menu_page_url("qnimate-theme-options", true);

This function resides in wp-admin/includes/plugin.php file.

Dec 25, 2014Narayan Prusty
Facebook Style Chat Bubbles using CSSStoring Key Value Pairs in CSV using PHP

Leave a Reply Cancel reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Narayan Prusty

I am a software engineer specialising in Blockchain, DevOps and Go/JavaScript. This is my personal blog where I write about things that I learn and feel interesting to share.

7 years ago WordPress
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • WordPress Enqueue Script in a Specific Admin Settings Page
  • Overview of WordPress Admin Menu API
  • Add Checkbox using WordPress Settings API
  • Add Radio Buttons using WordPress Settings API
  • Add Select Tag using WordPress Settings API
Our Sponsor
My Books

2014 - 2015 © QNimate
All tutorials MIT license