Support

Account

Home Forums Add-ons Gallery Field Empty array when ordering posts by meta_value Reply To: Empty array when ordering posts by meta_value

  • I am also seeing the same behaviour after upgrading to Gallery 1.1.0 and ACF 4.3.0.

    With add_action('pre_get_posts'... called in functions.php, get_field for a gallery field returns an empty array.

    If I comment out the pre_get_posts action everything works as expected.