Use REGEXP in WP_Query meta_query key. Your answer is perfect working in the first array lvl, for example:
1 2 3 4 5 6 7 | $args['meta_query'][] = array( 'key' => 'tour_itinerario_ciudades_repeater_%_tour_ciudades_nombre', '_key_compare' => 'LIKE', 'value' => 'MEXICO', 'compare' => 'LIKE', ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.