Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author affmngr

    (@affmngr)

    @woowoffer, Please edit the “config.php” file Line: 7 (/wp-content/plugins/affiliates-manager/).

    Change

    public static $AdminCap = 'wpam_admin';

    to

    public static $AdminCap = 'shop_manager';

    Now edit the “Plugin.php” file Line: 231 (/wp-content/plugins/affiliates-manager/source/).

    Change

    $role->add_cap(WPAM_PluginConfig::$AdminCap);

    to

    //$role->add_cap(WPAM_PluginConfig::$AdminCap);

    Let me know how it goes.

    Thread Starter woowoffer

    (@woowoffer)

    Hi
    Worked well
    But it disabled in Admin, but no problem for that for me.

    Do I do this action again after the plugin update, right?

    Plugin Author affmngr

    (@affmngr)

    @woowoffer, yes it needs to be updated if you update the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shop Manager control permission’ is closed to new replies.