I need to get an array of all author's of a blog.
Here's the code I have in mind, unless there's some WP function I should know about.
function op_all_authors() {
$all_authors = AN ARRAY OF AUTHORS
foreach($all_authors as $key => $value) {
$all_authors[$key] = $all_authors[$key];
}
return $all_authors;
}
Basically, I want to put these authors in a form select for an administrator to choose from. The author posts that's chosen will be displayed on a certain page.
I just need to get an array of authors; I can do the rest from there.