If I get my posts using meta_query by 'my_meta_key' only I get something like this
Array(  => Array( [nested_key1] => something_I_want1 [nested_key2] => something_I_want2 [dont_care_key] => something_I_dont_care_about )  => Array( [nested_key1] => something_I_want1 [nested_key2] => something_I_DONT_want [dont_care_key] => something_I_dont_care_about ) )
Now I would like to do a meta_query, that would only fetch posts with 'my_meta_key' containing
something_I_want2 at the same time...
Problem is, I can't query by the full array, because a) I really don't care about "something_I_dont_care_about" metas and b) I don't know what they will be - so I need to query only by partial array...
I've tried this without success (WP_Query meta_query arg) (no posts fetched):
'meta_query' => [ [ 'key' => 'my_meta_key', 'value' => [ 'nested_key1' => 'something_I_want1', 'nested_key2' => 'something_I_want2', ], 'compare' => 'IN', //I've tried with and without ] ],
What am I doing wrong? Is it even possible to query only by part of meta array?