[+] Allow editors to edit all translations even when not assigned to them

When a job is completed only the admin or the original translator can edit that job.

You can change this behavior and provide access to other roles as well to edit the job.
Add the below code the functions.php


add_filter('wpml_user_can_translate', function ($user_can_translate, $user){
	if (in_array('editor', (array) $user->roles, true) && current_user_can('translate')) {
		return true;
	}
	
	return $user_can_translate;
}, 10, 2);

Support Thread Example

Let us know if this snippet is not working for you:

This snippet doesn’t work
5 1 vote
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments