WP Admin Menu

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.

Leave a Reply