user roles – Disabled delete_others_posts if post is from admin

Question

I need some help with capabilities.
I created a new role for my theme with the capability “delete_others_posts”.

This role can delete posts from other users and also from admins.
Is there a way to block this so the user can delete other posts but not from admins?

0
Jop 5 months 2022-03-07T07:01:49-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse