I am developing a multisite plugin. So I need a custom post type to manage few things within the plugin. I would like to use the inbuilt custom post type feature of WP. But the issue here is, we can show custom post type admin screens only within subsites or main site dashboard. I can register the post type only to the main site using is_main_site() check. But is it possible to move the post add/edit/list page to network admin dashboard?

I have tried setting the network admin menu slug for the post type menu like, 'show_in_menu' => 'network/admin.php?page=my-custom-page', but it did not work. Any suggestions?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.