• Resolved mezzomedia

    (@mezzomedia)


    Dear team,

    Other plugins, like Gravity Forms, Yoast SEO and Custom Twitter Feeds, have filters that allow non administrator users to view/manage pages from the WordPress back end.

    The MailerLite Sign-Up Forms plugin does not seem to support this currently. Several of my clients (who have Editor users) would like to be able to edit the MailerLite forms and settings.

    Would it be possible to add a filter to the plugin (and documentation) to support this?

    Example of how this can be used in a theme’s functions.php for the plugins mentioned above:

    function exampletheme_extra_editor_capabilities() {
    	$role = get_role( 'editor' );
    
    	// Gravity Forms
    	$role->add_cap( 'gform_full_access' );
    
    	// Yoast SEO
    	$role->add_cap( 'wpseo_manage_options' );
    }
    add_action( 'admin_init', 'exampletheme_extra_editor_capabilities');

    The plugins then user the WordPress function current_user_can() to check if the code should be applied to the current user. For example:

    $has_full_access = current_user_can( 'gform_full_access' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • I would also like to see this functionality implemented.

    Plugin Author MailerLite

    (@mailerlite)

    Hi @mezzomedia and @neocarlitos

    We appreciate the suggestions and the time you took to share some details with us. We can see how this can add value?to you as a user and we will make sure to analyze the possibility of adding this to our future roadmap. Any updates from our end will be shared with you through this post.

    Ps. It might also be handy to know in advance that this solution would only be applicable to Custom forms and not MailerLite forms.

    Thank you,

    Plugin Author MailerLite

    (@mailerlite)

    Hi,

    We released a new version of our plugin that adds support for non admin users to manage custom forms.

    I am marking this forum post as resolved, for now. Please just let us know if you encounter any issues with the new version.


    Thank you,

    The MailerLite team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add filter to allow non administrator users to manage form’ is closed to new replies.