Defining Priority

Every hook function must be registered with a priority.

As the priority specified or defines the order in which hooks should run when multiple hooks are registered for the same hook point.

The priority can be any valid integer value.