Mather-Sophi / sophi-for-wordpress

WordPress VIP-compatible plugin for the Sophi.io Site Automation service.
https://sophi.io
GNU General Public License v2.0
21 stars 7 forks source link

Ability to disable Overrides buttons in Sophi block #354

Open jeffpaul opened 2 years ago

jeffpaul commented 2 years ago

Is your enhancement related to a problem? Please describe.

There are cases where a Sophi client will be handling the Override integration via the plugin's REST API endpoint and as such would not want the Override buttons to appear in the Sophi Site Automation block in the plugin. I'm not certain how well we can handle that in the editor, but I think we would want to add a toggle in the plugin settings for something like "Enable Override functionality within Site Automation block" that's checked by default.

Designs

n/a

Describe alternatives you've considered

n/a

Code of Conduct

jeffpaul commented 2 years ago

We likely should add a "Enable Override functionality" that enables/disables the entire function whether in the block or via hook/endpoint interaction and that this setting defaults to enabled.