How To Create WordPress Dashboard Item

What you need to do in your case – is to create a custom post type. Please read about post types in WordPress here https://wordpress.org/support/article/post-types/ You can use a plugin to create Case Studies post type https://uk.wordpress.org/plugins/custom-post-type-ui/

How to exclude some post from admin edit screen

I’m not sure why you’re having trouble with pre_get_posts as that is the correct hook to use. For example, if we wanted to restrict the edit.php screen to only show posts from authors when the current user is an author we could say: /** * Pre Get Posts * Restrictions by Role * * @return … Read more