sort directory by last saved

This commit is contained in:
Evan Mullins 2019-03-19 07:42:11 -06:00
parent cb546974a1
commit bc8121a3aa

View file

@ -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 );