How to allow editor to edit privacy page / settings only?
In my WordPress installation (4.9.8.) the editor role isn’t allowed to edit the privacy page. It would work with following in my functions.php: $role_object = get_role( ‘editor’ ); $role_object->add_cap( ‘manage_privacy_options’, true ); $role_object->add_cap( ‘manage_options’ ); // this needs to be active in order that before cap works But now the editor has lot more rights … Read more