• How can I get current path of my page?

    I know how to do it on my template, but I need it on functions.php.
    And it has to be before send_headers hook, because I′ll use this info to set a cookie.

  • The topic ‘Get current path on init’ is closed to new replies.