Hi,
I want to disable the delete action for specific pages in the panel so I’ve used the blueprint page options delete: false
But I want to be able to delete these pages programmatically in a hook. It seems not possible when page options “delete” is set to false in the blueprint even if I force the delete: $page->delete(true)
in my hook.
Same thing for changing the status page, if changeStatus: false
in the page blueprint, I can’t change the status programmatically in a hook.
Is there a solution to bypass the blueprint options setting in a hook?