Support

Account

Home Forums ACF PRO Post Object – Main Loop Exclude Reply To: Post Object – Main Loop Exclude

  • You need to get the field from where it is located. If it’s on a post then you need to supply the post id.

    
    $query->set('post__not_in, get_field('post_object', $post_id, false));