Support

Account

Home Forums ACF PRO Impossible to reorder fields in ACF PRO Reply To: Impossible to reorder fields in ACF PRO

  • Hi!

    Found it! This code was on the function.php and was messing with ACF PRO:

    // Connection error
    add_filter('login_errors',create_function('$a', "return null;"));
    
    function set_post_order_in_admin( $wp_query ) {
      if ( is_admin() ) {
        $wp_query->set( 'orderby', 'post_status' );
        $wp_query->set( 'order', 'DESC' );
      }
    }
    add_filter('pre_get_posts', 'set_post_order_in_admin' );

    I removed it and it works just fine 🙂