Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to remove edit tab after create order for Authenticated User.
You should edit the permissions for the user role in question. Doing so will mean they will not have access to edit orders, and only create them if you so choose to.
It might be a little easier to use the secure permissions module to manage the permissions in code.
You might find Tab Tamer useful for that.
Required, but never shown