Add Submenu Page to The Tools Main Menu

Prem Tiwari - - WordPress Snippets


This is a very short tutorial about sharing the WordPress snippets which helps you while developing a custom WordPress plugin. In this tutorial, I have shared a how to add sub menu under the tool menu bar in WordPress Admin panel.

Add Submenu Page to The Tools Main Menu

Use the add_management_page() function in your plugin file to add menu inside the Tool menu. This function defined in wp-admin/includes/plugin.php file. See the function definition:

Example

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

More details: https://developer.wordpress.org/reference/functions/add_management_page/


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.