• Resolved wzshop

    (@wzshop)


    Hi,
    How can I check if the filter form was submitted? I have a template file for my custom taxonomies and try to check it with:

    if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    
    }

    But that is not working? Any ideas?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter wzshop

    (@wzshop)

    Sorry, still early:)

    You need to use GET of course!

    if ($_SERVER['REQUEST_METHOD'] == 'GET') {
    
    }
    • This reply was modified 2 years, 10 months ago by wzshop.
Viewing 1 replies (of 1 total)
  • The topic ‘How to check if the form was submitted in template file?’ is closed to new replies.