Follow up to “Hiding “Display conditions” by role…”
-
Hi @menathor,
I sincerely apologize for never responding to your original support topic; I forgot to subscribe to notifications for this plugin and completely missed it. I’m starting a new thread since the last thread has been closed.
To answer your questions:
Great plugin. I’d like to see some settings to hide the “Display conditions” section in the editor by role as well. Would that be possible?
Good idea on only allowing certain roles to use the display conditions. We hadn’t thought of that but that is certainly something we can add. We’ll make a note to get that added in the next release.
Also, how developer friendly is this? Are there hooks in place to add our own conditions?
We’ve tried to make the plugin as developer-friendly as possible and you can definitely add your own conditions. You can use the
wicked_block_conditions_register_conditions
action to register your own condition and thewickedBlockConditions.conditions
JavaScript filter to supply the React component for the condition’s UI.
- The topic ‘Follow up to “Hiding “Display conditions” by role…”’ is closed to new replies.