I was wondering if it would be possible to prevent url parameters from being read and used via PHP, specifically with Wordpress and Woocommerce.
The best example I can give is as follows, for a domain with wordpress and woocommerce installed, the following URL will add the appropriate product (with product id 999) to cart instantly:
www.example.com/?add-to-cart=999
I would like to prevent this parameter from being read if possible. All assistance is appreciated.