The onBeforeDelete handler is used for when an editor tries to delete a piece of content, but before LiveWhale deletes it, you can perform your own custom validation.
To add a validation check, you can look the item up by $id and/or add error messages to the $_LW->REGISTERED_MESSAGES['failure']
array as needed.
1 |
|