• Resolved Tim

    (@thegreentimtam)


    Hi,

    I’m wanting to implement this plugin in a heavily controlled WordPress Multisite environment. I want to give Editors permission to edit the settings of the Easy Forms for MailChimp plugin – i.e. add their API Key and select Integrations.

    I have already added the yikes-mailchimp-user-role-access filter to change the permission to edit_pages, but this only gives them permission to create forms and view Lists, not to edit the plugins settings.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Freddie

    (@fmixell)

    Hey @thegreentimtam,

    Here’s a snippet that will allow you to do that!

    add_filter( 'option_page_capability_yikes_inc_easy_mc_general_settings_page', function() {
    	return 'delete_pages';
    } );
    
    add_filter( 'yikes-mailchimp-user-role-access', function() {
    	return 'delete_pages';
    } );

    Cheers,
    Freddie

Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to give non-admins permission to change the Settings?’ is closed to new replies.