Defining Priority

Every hook function must be registered with a priority.

The priority 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.