Sometimes you need to disable few core elements from your template or extensions. Create a file name
templates/YOUR_TEMPLATE/quix directory and use this code below to disable any elements you want.
<?php quix()->disableElements(['button', 'image']);
Provide element slug in
disableElements function. Replace
YOUR_TEMPLATE with your current active template name.
User can always enable any of your disabled element from Element Manager. If you disable an element that already used on some pages, the element will work as it is. It will only effect when someone try to add a new element.
If you disable any elements from template/extensions that already enabled/disabled by user before,
disableElements will not have any effect on that elements.