Filtering WooCommerce Products by $_GET

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Filtering WooCommerce Products by $_GET



What I need to be able to do is apply a value for an attribute in the URL, so only the products match that attribute are displayed. I don't want to do any widgets or other visible filters on the page.



For this I presume I would need to use one of the webhooks, and filtering out all products that are about to be displayed.



Can anyone advise which hook will be best in this case and a simple explanation on how the triggered function will return the new array of products?



Thanks in advance!









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

9sHmvLaoo2TN36 Gi,o9F13nofH V7v9sO 4I,XkYLXh1QB234tHM,l GiycaKh AD DBZ eYcT
6bnqDD540Og99QZS84cS

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham