Jump to content

prevent other hooks from running


---
 Share

Recommended Posts

I have created a hook with priority one because I want it to run asap. Now I want this same hook to prevent all other hooks from running, is this possible, if so, how can I achieve that?

For example, normally hooks would run like this:

hook 1 -> hook 2 -> hook 3 -> hook 4 -> etc.

Now I want it like this:

hook 1 -> hook 2 -> hook 3 -> hook 4 -> etc.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...