Hook abort action #13861
Unanswered
benjaminpreiss
asked this question in
Q&A
Hook abort action
#13861
Replies: 1 comment
-
|
Absolutely! You can do this with a hook that throws an error. You would probably use I recommend you import the Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hey all!
I was wondering - is it possible to abort the action that triggered the hook (e.g. user delete) from within the hook?
So building a user delete hook that verifies something about this user and potentially blocks the user deletion from happening?
Beta Was this translation helpful? Give feedback.
All reactions