Created
October 11, 2022 22:17
-
-
Save vielhuber/883648d8d0a1101c4eccb7216629c4e3 to your computer and use it in GitHub Desktop.
allow editors role to edit wpml > string translations in backend #wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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