So I’ve been trying to create a template that will create a list of user names (only subscribers), their email address, and web address and I’m having no luck. I’ve been using the following code but still nothing is showing up.
$args = array();
$args[0] = 'user_firstname';
$args[1] = 'user_lastname';
$args[2] = 'user_email';
$args[3] = 'user_url';?>
'subscriber', 'fields' => $args ) ); ?>
get_results(); ?>
any help would be appreciated.
Thanks in advance