Support » Fixing WordPress » Hook before page load/display

  • allstar

    (@allstar)


    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?

Viewing 1 replies (of 1 total)
  • allstar

    (@allstar)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Hook before page load/display’ is closed to new replies.