sort directory by last saved
This commit is contained in:
parent
cb546974a1
commit
bc8121a3aa
1 changed files with 3 additions and 2 deletions
|
@ -32,8 +32,9 @@ get_header();
|
|||
// Directory
|
||||
/* Start the Loop */
|
||||
$args = array(
|
||||
'orderby' => 'ID',
|
||||
'order' => 'ASC',
|
||||
'orderby' => 'meta_value',
|
||||
'meta_key' => 'last_save',
|
||||
'order' => 'DESC',
|
||||
'fields' => 'all',
|
||||
);
|
||||
$users = get_users( $args );
|
||||
|
|
Loading…
Reference in a new issue