I am trying to get users that are either administrator, editor or author as their role from the wordpress database
$args = array('orderby' => 'post_count', 'order' => 'DESC','number' => 20, 'role' => 'administrator' );
That gets the administrator so i thought this would work
$args = array('orderby' => 'post_count', 'order' => 'DESC','number' => 20, 'role' => array('administrator','editor','author') );
It returned no results. ?
var_exportwould be preferable toprint_r, as it results in a PHP-parseable (hence, more useable) representation.