For a woocommerce plugin to filter global attribute terms and custom fields, I need to set up the meta_key and the meta_value.
I tried to find out which these exactly are:
I tried:
- meta_key=’pa_attribute’, meta_value=’1 Value’
- meta_key=’pa_attribute’, meta_value=’1-value’
- meta_key=’_pa_attribute’, meta_value=’1 Value’
- meta_key=’_pa_attribute’, meta_value=’1-value’
I checked any possible combination, but could not get to work.
I also need the meta_key and the meta_value from postmeta.
Does anyone know how to do this?
What is the exact syntax for these terms?
Thanks