Support

Account

Home Forums Backend Issues (wp-admin) Relationship Field Search Won't Work for Custom Post Type Reply To: Relationship Field Search Won't Work for Custom Post Type

  • a pre_get_posts filter will effect all queries unless conditions are added for excluding queries based on something in the query. Or in this case you could exclude queries run during AJAX requests. ACF uses a standard WP_Query to get the posts/search results so it will be affected by any pre_get_posts filters active on the site.