Support » Plugin: Custom Users Order » Can I use the order set with this plugin for get_users?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same doubt! Did you finally could resolve it @rimfya?

    Thanks!

    Nope!

    I ended up using a function to add a field to all user accounts called ‘rank’, then manually gave each user a number and sorted them by that number.

    Actually, you can do it by getting the option from the DB option table.

    If you create a section called “test”, then to get the user order you just have to call :

    $order = get_option( 'section_name_test' );
    You can then do
    $order = explode(',',$order);
    to have it as an array…

    It’s not really a great solution, but it works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I use the order set with this plugin for get_users?’ is closed to new replies.