WP Admin Menu

Posted On: March 22, 2016

WordPress does not come with specially designed pages for plugin options. We can either use the admin menu page or the options page to make the HTML forms required for configuring options. I am going to use the admin menu page to implement the options. First we have to use the following code to add the page to the left menu.


function pro_admin_menu() {











We have to use the action called admin_menu to add a new menu item and pro_admin_menu is the name of the function to add the page. Inside the function we can use the built-in add_menu_page to create the menu item.

Also Read :   Unique Visiter Counter Example Plugin
Subscribe to our newsletter
Subscribe to our newsletter today to receive updates on the latest news and offers.
100% Privacy. No spam guaranteed
webe tutorial