I think my problem may be tangentially related to this post.
https://support.metabox.io/topic/wp_query-with-meta_value-impossible-on-cloned-data-fields-array/
I'm trying to filter posts that have a custom field created using the groups extension, based on the value of a meta key.
The meta key I'm trying to use:
'meta_key' => 'end_date_AUCTION_HERO',
If I var_dump rwmb_meta($META_ID.'_text_block')
I can see end_date_AUCTION_HERO is a valid key, so that's something.
I know I can get access to the metabox.io custom field keys of post within a wp loop easily, but it doesn't seem possible to access them outside the loop, like when you need to make an instance of wp_query
I could get it like this within a loop
//LOOP
$META_ID = 'AUCTION_HERO';
$text_block = rwmb_meta($META_ID.'_text_block');
echo $text_block['end_date_AUCTION_HERO_'.$META_ID]
//END LOOP
I can't do that outside the loop of course, because rwmb won't spit anything out.
Is it possible to do this with groups, or alternatively, without groups?
I've definitely done this task before when making custom fields from scratch, just seem to be having trouble with metabox.