Created
September 23, 2021 17:26
-
-
Save MrJSdev/907504694405c563b573c1f473f99af0 to your computer and use it in GitHub Desktop.
Fetch all WordPress authors list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
wp_list_authors( array( | |
'show_fullname' => 1, | |
'optioncount' => 1, | |
'orderby' => 'post_count', | |
'order' => 'DESC', | |
'number' => 3 | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment