Support

Account

Home Forums Feature Requests add orderby paramt to get_field_objects() please Reply To: add orderby paramt to get_field_objects() please

  • ACF just calls get_post_meta($post->ID);, there’s nothing to filter to change the order. WP gets the meta values in ID order, meaning that they are always returned in the order they were created. Look at the WP function update_meta_cache(). There is one filter in there that might let you change the query.

    If you want to display fields in a certain order then you need to get the fields where you want them displayed.