• Resolved Dermes

    (@dermes)


    Hi,

    Could we get a filter added for the $allowed_roles = array(‘administrator’, ‘shop_manager’);
    At row 199 in woocommerce-pdf-invoices/includes/be-woocommerce-pdf-invoices.php ?

    That would be very useful so that we can decide what roles should be able to create and download invoices in the backend.

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    This has been added to the latest version. Please let me know if it works.

    Also, would you be so kind to rate the plugin? It would support future development a lot! Many thanks in advance.

    Thread Starter Dermes

    (@dermes)

    Hi Bas,

    The new filter works fine, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Filter for $allowed_roles’ is closed to new replies.