Disable access to the admin payments page for specific users in WooCommerce

Disable access to the admin payments page for specific users in WooCommerce.

Snippet Type

Execute on Child Sites

Snippet

https://github.com/mainwp/Code-Snippets-Functions/blob/master/Execute%20a%20function%20on%20a%20child%20site/WooCommerce/disable-access-to-admin-payments-page-for-specific-users.txt