QuestionQ24

Working with Admin

How can a developer prioritize a plugin’s execution, where possible?

Explanation

For plugins observing the same method, the sortOrder attribute controls priority. Plugins begin execution from the lowest to the highest sortOrder, so assigning a lower value than the target plugin gives the plugin earlier execution priority. Module load order is relevant only when plugins have the same sortOrder or no value is specified.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!