Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Role-based meta panel restrict. › Reply To: Role-based meta panel restrict. 12/08/2019 at 03:37 #5872 VladimirKeymaster There is no need to edit woocommerce source code. Use a [user_role_editor] shortcode is not a good idea. It works for the post/page content output only. Try to use this solution a starting point.