how to add wordpress page in admin without menu

For creating the wordpress admin page that you not need to add this in admin panel menu than follow the below step.

Key point : create sub menu with blank parent.

1) create the action for admin panel.

2) call the function add_submenu_page in which the first parameter is parent page. in that perticular case set it as blank means you need to set parent page as blank.

The other parameter of the wordpress function “add_submenu_page” set as per your requrnment.

Leave a Reply

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