February 20, 2016 at 1:26 pm
#24896
Syam Mohan
Keymaster
Hi Joseph,
User Role Editor works using the built-in action/filter hooks available in WordPress core. Extended Permissions works based on the where clause available in the query class.
So if the plugin doesn’t call these filters while getting these posts from DB, then the extended permissions won’t work.
Its not possible to modify the behavior of their code through this plugin. So if you can edit the template that will be better.
If you are modifying the template then you don’t have to worry about the extended permission setting. Instead you can code everything right there.
For example you will be able to check whether a user belongs to the ‘Editor’ role like this.
if(current_user_can('editor')) { }
I hope this helps.
Thanks
Syam