I'm fairly new to wordpress/php development, so forgive me if this is a stupid question.
I'm trying to get a list of all the users with metadata in order to export them to a CSV file.
We currently have 69 users on the site, but the get_users() method only lists 4 users.
I'm currently using the below piece of code.
$args = array( 'fields' => 'all' ); $users = get_users( $args );
Thanks in advance