Only view CPT posts authored by current user
-
Hi, I have two custom post types which I’ve set up to have authors. Now, is it possible to make it so that members can only view the posts that they have authored in the admin menu?
I imagine pre_get_posts will get into play, but I can’t think of a way to implement it.To be more clear, I need to filter the results in “edit.php?post_type=my_cpt”.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Only view CPT posts authored by current user’ is closed to new replies.