Support

Account

Home Forums Front-end Issues Include meta added via relational post object in an existing query function Reply To: Include meta added via relational post object in an existing query function

  • Thank you, I do this for a couple of reasons, one of them being that I feel ACF is the most valuable WP plugin that exists and will become more so with the bad direction I feel that WP is going with their block editor.

    Anyway. Remove the line of code I added before and replace it with this

    
    if ($query->get('organizer')) {
      var_dump($query->get('organizer')); echo '<br />';
    }
    echo '<pre>'; print_r($query); die;
    

    and post whatever it is that outputs. There’s going to be a long nested query, but I need to know what’s in it.