Support

Account

Home Forums General Issues pre_get_posts() and ACF pro bug ?

Helping

pre_get_posts() and ACF pro bug ?

  • Hi,
    if i use meta_query in pre_get_posts filter, get_field() repeater field returns something like this: Array ( [0] => 2 ) if no meta_query in pre_get_posts() get_field() return normall array.

  • Hi @itsdev,

    Thanks for the post.

    I am afraid I cannot replicate this on my end. There might be a syntax error in your code and thus it would be great if you could share a snippet of what you have in the meta_query.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘pre_get_posts() and ACF pro bug ?’ is closed to new replies.