ACF Repeater Field Meta Queries

In order to use a meta query to find a value of a post’s repeater field we need to make sure we hook into “posts_where” and swap out a “=” for a “LIKE” so we can find our correct meta keys.

Here is the example code for that.

Now we can just add a meta query to our WP Query args and search our repeater fields like so.

 

UPDATE

Since WordPress 4.8.3 ACF no longer recommends using the “%” symbol for queries and instead suggests the “$” symbol. So new queries are going to look like this.