dimanche 4 octobre 2015

How to remove UI access to Custom Post Type using direct links?

My goal: A custom post type with a complete custom editor page and post list table.

I have set show_ui to false. It removed the UI section. But if some admin puts direct link (wp-admin/edit.php?post_type=custom_post) in the browser, it takes them to the post table page, and clicking from there takes to editor page. How can I stop this? I don't want anyone to get access to this two pages. I have made two custom pages for them.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire