• Resolved sheriffderek

    (@sheriffderek)


    I’d love to give out a special URL

    something like https://site.com?code=exampleCode

    
    if ( $code === "exampleCode") {
      echo $code;
    }
    

    or something.

    Any suggestions? I haven’t used query params in PHP or WordPress before.

    • This topic was modified 5 years, 10 months ago by sheriffderek.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use query parameters in template’ is closed to new replies.