• Resolved beware

    (@beware)


    Hi guys,

    quick question, currently editing/creating an hotmap need to have access to wordpress option (as it is a child element)

    is it possible to move it ?

    Cheers

Viewing 1 replies (of 1 total)
  • Plugin Author Maarten

    (@maartenbelmans)

    Hi @beware

    We just launched a new version (v 1.1.2) with a filter for this. You should now be able to write some code like this:

    add_filter('shoppable_images_capability', function($capability) {
       return 'edit_posts';
    });
    
    add_filter( 'option_page_capability_mabel-shoppable-images-lite', 'msi_setting_capability' );
    function msi_setting_capability( $capability ) {
       return 'edit_posts';
    }

    This gives users with “edit posts” the possibility to create/save shoppable images.

Viewing 1 replies (of 1 total)
  • The topic ‘User Role to edit image’ is closed to new replies.