Plugin Debugging : Hooks and Filters Flow
Basically, a plugin for WordPress creates a PHP function (called a filter or an action) which is triggered when a particular event (called a hook) occurs. When several filters are supposed to be triggered by the same hook, you can define their priority. When you're writing a plugin and you're facing unexpected behavior, it may be a priority issue :…