Request Hook priorities

Discussion in 'Feature Suggestions' started by Antifleischwolf, Jan 30, 2014.

  1. It would be nice to be able to prevent other plugins from receiving specific events.
    The easiest approach that I have in mind would be to control the order in which the hooks of the different plugins are called and enable them to stop the call of all hooks with a lower priority.
    Stopping the call of more hooks could happen by returning a non nil value or by using an extra function for it.
     
  2. Returning a non nil value will stop all other plugins from running that hook by default.
     
  3. Is there any way to influence the order?
    It's not that useful to stop it if the plugin that should not receive the event was called first.