How to make Meta Query case sensitive?
This is how meta_key/_values work. How you store your values is case sensitive. Example meta_key = “foo’ and meta_value=”Bar” Would return the result you are looking for: $posts = new WP_Query( ‘post_type=post&meta_key=foo&meta_value=Bar’ ); Would not return the result you are looking for: $posts = new WP_Query( ‘post_type=post&meta_key=foo&meta_value=bar’ ); However it does appear that your database … Read more