Skip to content

Instantly share code, notes, and snippets.

@vielhuber
Created October 11, 2022 22:17
Show Gist options
  • Save vielhuber/883648d8d0a1101c4eccb7216629c4e3 to your computer and use it in GitHub Desktop.
Save vielhuber/883648d8d0a1101c4eccb7216629c4e3 to your computer and use it in GitHub Desktop.
allow editors role to edit wpml > string translations in backend #wordpress
// add this ONCE, then open up the backend, then remove this again (because this modifies the database!)
$role_object = get_role( 'editor' );
$role_object->add_cap( 'wpml_manage_string_translation' );
// alternative: Capability Manager Enhanced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment