Support » Plugin: Order Delivery Date for WooCommerce » How do I prevent the plugin from being visible to a role in the WP dashboard

  • Resolved beltlines

    (@beltlines)


    Hi,
    I’d like to prevent the Orders Delivery Date settings from being visible in the WordPress dashboard to a particular custom role.

    I have created an custom ‘Order Manager’ role using the ‘Capabilities’ plugin and have sized everything down to what is needed for this role to operate but the Order Delivery Date settings are visible to the role and I don’t won’t the role to have visibility of the Order Delivery Date settings…

    Many thanks in advance for any assistance, Neil

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support chetnapatel

    (@chetnapatel)

    Hi @beltlines,

    Currently, it’s not possible to prevent the order delivery date settings from being visible to a particular custom role.

    However, you can achieve your requirement by making some changes into one of our plugin’s files. You can check for the function orddd_lite_capabilities() in the order_delivery_date.php file. In this function, you can add/remove the roles & capabilities.

    Regards,
    Chetna Bhutka

    You could try Admin Menu Editor to remove it from the Dashboard Menu for that role.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.