Support

Account

Home Forums Backend Issues (wp-admin) Sort repeater admin fields Reply To: Sort repeater admin fields

  • You can use a filter like:

     
    add_filter('acf/load_value/type=repeater', 'my_acf_load_value', 10, 3);
    function my_acf_load_value( $rows)
    {
      array_multisort($rows, SORT_ASC);
      return $rows;
    }
    

    Now you just have to build a select menu and hook to the specified action..