Hi,
How to prevent a user to edit a particular post? I need to use functions.php and not a plugin. Plugin is not working in my case :
If I activated : edit_others_posts, to give access to edit post in the "WYSIWYG Widgets" (https://wordpress.org/plugins/wysiwyg-widgets/), the Author role can change all the "posts" there.
Thanks,
Valerie