geoip plugin data_post hook order #3216
Unanswered
superman20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would appreciate some advice and how to order the geoip data_post hook correctly. I currently want it to run first in the data_post hook sequence (and I have it ordered as such in my plugins config). However, since the register function and the database loading are all asynchronous, the data_post hook always appears last effectively ignoring the order in the plugins config. BTW, just to test my ideas about how I want to use the geo data in other plugins I temporarily changed the code in the geoip register function like so:
this.register_hook('data_post', 'add_headers', -100)
thinking this would boost the priority but it does not seem to change anything. What would be the best way to make geoip data_post execute first?
Beta Was this translation helpful? Give feedback.
All reactions