Plugin Author
Tim W
(@timwhitlock)
There is no filter for that currently. I’ll look at adding this in the next release, so I’ll keep this ticket open.
Thank you for your fast response! Looking forward to the next release, keep up the good work!
Plugin Author
Tim W
(@timwhitlock)
The current Development Version filters the "manage_options" capability through loco_admin_capability tag.
Feel free to try it out.
https://wordpress.org/plugins/loco-translate/developers/
Example usage:
add_filter('loco_admin_capability', function( $capability ){
return 'edit_posts';
} );
Currently this is not fine-grained. The one capability provides full access to all Loco admin screens and functionality. I can extend that in future if it seems necessary.
I’m marking the ticket as resolved, but if you find any bugs with this filter, just open a new thread.
Great! Works like a charm!