Currently using add_action('get_header', ' ');
to run some code before the page is shown, however it is very slow, is there an earlier hook that can be used before the page is displayed?
Currently using add_action('get_header', ' ');
to run some code before the page is shown, however it is very slow, is there an earlier hook that can be used before the page is displayed?
Sorry forgot to mention that I can't put it in the index.php file because I need to check a person is logged in.
This topic has been closed to new replies.