WordPress.org

Support

Support » How-To and Troubleshooting » Hook before page load/display

Hook before page load/display

  • 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)
  • 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.
Skip to toolbar