Change WordPress user roles and capabilities › Forums › How to or FAQ › Including Tablepress in a Role › Reply To: Including Tablepress in a Role
24/10/2019 at 04:08
#6060
Vladimir
Keymaster
Unfortunately, GTranslate developer uses ‘administrator’ role to protect its menu item under ‘Settings’ menu. Look at the gtranslate.php file, line #231:
add_options_page(__('GTranslate Options', 'gtranslate'), 'GTranslate', 'administrator', 'gtranslate_options', array('GTranslate', 'options'));
The only way to make possible to add access to this menu item for other roles except ‘administrator’ is to replace ‘administrator’ at this line with ‘manage_options’, or any other user capability suitable for your purpose.