Is there a way to get metabox information within the args?

Support General Is there a way to get metabox information within the args?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33205
    Travis SlonekerTravis Sloneker
    Participant

    Hello,
    I am back again because what I thought might be a solution is not fruitful. So, my question is: Is there a way to filter what posts are in my loop based on the arguments of the wp_query? I see there is a way of getting meta information with meta_query:

    $meta_query_args = array(
    'relation' => 'OR', // Optional, defaults to "AND"
    array(
    'key' => '_my_custom_key',
    'value' => 'Value I am looking for',
    'compare' => '='
    )
    );
    $meta_query = new WP_Meta_Query( $meta_query_args );

    Thoughts? I can show a larger snippet of my code if it's needed for my question to have some context.

    #33210
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please give more info and code about your case? Does it relate to this topic?
    https://support.metabox.io/topic/rwmb_meta-function-not-working/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.