Skip to main content
3 of 3
added 181 characters in body

Create new page without menu in custom wordpress plugin

I am creating a custom WordPress plugin. I am writing all HTML by yourself. I don't use WP_List_Table class etc. When I create new page using add_submenu_page method, this page appears in menu. I don't want it. I am creating page such "Edit products". I have page "list of products", I need to add separate page on which admin will can edit particular product.

How can I create such page in my plugin without adding to menu? I tried pass NULL as parent_slug in add_submenu_page but I couldn't display page title for example...

How such pages should be created in wordpress plugin development?

Thanks.