Customise Wordpress plugin to display only content created by logged in user

Forums: 

Hello, I have a Wordpress site using H5P and it is great. I have several people creating H5P content and what I would like is that when each user goes to the H5P page, they only see the content that they have created. So in the screenshot attached, author 'russyahooo' would not be able to see the interactions created by author 'admin'

I am also using 'User Role Editor' plugin, which allows certain user roles to have different permissions in relation to all plugins. For H5P you can select 'Edit h5p contents', 'Edit others h5p contents' and a few others. If one of these were 'View others h5p contents' this would be perfect. 

Summary: 
Customise Wordpress plugin to display only content created by logged in user
otacke's picture

Hi russellgw!

That feature has actually been implemented already and will be released with the next update of WordPress.

You will be able to set/remove the capability to view other users' contents per role and some other details.

Best,

Oliver 

Great thanks for the quick reply. 

 

Thanks for the quick and positive reply. I'll look forward to testing it out!