I want to remove the Create button of an entry based on some condition (review states) for some users.
Is there a way to hook in within a module?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.Sign up to join this community
I would try to do this via JS, using https://plugins.craftcms.com/cp-js
If the information, whether you want to show the button or not, is not available in the entry's edit page itself, create a controller within a module and request the information from the controller via AJAX.